Enterprise Server provides the following ways of compiling JSP source files into servlets:
JSP files are automatically compiled at runtime.
The asadmin deploy command has a precompilejsp option. For details, see the Sun GlassFish Enterprise Server v3 Reference Manual.
The sun-appserv-jspc Ant task allows you to precompile JSP files; see The sun-appserv-jspc Task.
The jspc command line tool allows you to precompile JSP files at the command line. For details, see the Sun GlassFish Enterprise Server v3 Reference Manual.