Mindmap
DEPLOYMENT AND SECURITY
Inhalt der Mindmap
DEPLOYMENT AND SECURITY
Steps to deploy a Web Application
- 1. Arrange the resources
- 2. Write the Web Application deployment descriptor (web.xml)
- 3. Create the WebLogic-Specific Deployment Descriptor (weblogic.xml).
- Archive the files in the above directory structure into a .war file.
- Deploy the Web Application on Weblogic Server
Steps to deploy a Web Application
- Open the Administration Console
- Select the Web Applications node.
- Select your Web Application.
- Assign your Web Application to a WebLogic Server, cluster, or Virtual Host.
Understand the Directory Structure - Cont
- You develop your Web Application within a specified directory structure so that it can be archived and deployed on WebLogic Server, or another Servlet 2.2 compliant server. All
- All servlets, classes, static files, and other resources belonging to a Web Application are organized under a directory hierarchy
- The root of this hierarchy defines the document root of your Web Application
- All files under this root directory can be served to the client, except for files under the special directories WEB-INF and META-INF located in the root directory.
Configuring JSP in web
- An app can use JavaServer Pages (JSPs) to implement web pages. JSPs are servlets defined using static content (such as HTML) mixed with Java code. App Engine supports automatic compilation and URL mapping for JSPs.
- A JSP file in the application's WAR (outside of WEB-INF/) whose filename ends in .jsp is compiled into a servlet class automatically, and mapped to the URL path equivalent to the path to the JSP file from the WAR root. For example, if an app has a JSP file named start.jsp in a subdirectory named register/ in its WAR, App Engine compiles it and maps it to the URL path /register/start.jsp. If you want more control over how the JSP is mapped to a URL,
- you can maps it to the URL path /register/start.jsp. If you want more control over how the JSP is mapped to a URL, you can specify the mapping explicitly by declaring it with a <servlet> element in the deployment descriptor. Instead of a <servlet-class> element, you specify a <jsp-file> element with the path to the JSP file from the WAR root. The <servlet> element for the JSP can contain initialization parameters.
Informationen
- Beschreibung
- Mindmap am DEPLOYMENT AND SECURITY, erstellt von Kasmithira Harikrishnan am 25/02/2019.
- Erstellt von
- Kasmithira Harikrishnan
- Aufrufe
- 1
- Bewertung