JSP file locations

JSPs are contained within Web applications. JSP source code and class files are stored relative to the Web application to which they belong.

You can find the source code in the same directory as the JSP class files. The Java files generated from JSPs are stored in the same location as the class files.

EAServer compiles and loads JSP classes from:

$DJC_HOME/deploy/webapps/WebAppName/WEB-INF/compiled_jsps

Where WebAppName is the Web application name.

EAServer keeps the Java source code after compiling a JSP.

NoteJSPs in the EAServer html subdirectory In the as-installed configuration, you cannot create JSPs in the EAServer html subdirectory. The html directory is registered as EAServer’s default HTTP context to define the Web server’s context root. An HTTP context can serve static content only. In order to serve JSPs from the root context, you must create a Web application and set its context path to “/” to override the server’s default root context. You must also change the Resource Base property for the default HTTP context to point some place besides the EAServer html subdirectory. For details on creating a Web application, see Chapter 1, “Defining Web Applications.” For details on HTTP context configuration, see “HTTP tab” in Chapter 3, “Creating and Configuring Servers,” in the System Administration Guide.