JSP class file generation
At runtime, the WebSphere® Application Server
JavaServer Pages (JSP) engine loads JSP class files from either the WebSphere Application Server temp directory
or a web module's WEB-INF/classes directory.
The JSP engine first searches for a class file in the temp directory
and then it searches in the web module's WEB-INF/classes directory.
Packages and directories for generated .java and .class files
By default, the .java files for all
JavaServer Pages (JSP) files are generated with the package statement, package
com.ibm._jsp;. The JSP engine's class loader knows how to
load JSP classes when they are all in the same package. The .java files
are located in the filesystem within a directory structure mirroring
the JSP source directory structure.
JSP batch compilation
As an IBM® enhancement to JavaServer Pages (JSP) support, IBM WebSphere Application Server provides a
batch JSP compiler that allows JSP page compilation before application
deployment. The batch compiler validates the syntax of JSP pages,
translates the JSP pages into Java source
files, and compiles the Java source
files into Java servlet class files. The batch
compiler also validates tag files and generates their Java implementation classes.
Global tag libraries (deprecated)
JavaServer Pages (JSP) tag libraries contain classes for
common tasks such as processing forms and accessing databases from
JSP files.