and then type jspc.{bat or sh, depending on which machine}. You will invoke manually Jasper (The JSP compiler used by Tomcat) . The following options will be displayed:
where jsp files is any number of:
<file> A file to be parsed as a jsp page
-webapp <dir> A directory containing a web-app, all jsp pages
will recursivly be parsed
where options include:
-q Quite mode (same as -v0)
-v[#] Verbose mode (optional number is level, default is 2)
-d <dir> Output Directory
-dd <dir> Literal Output Directory. (package dirs will not be made)
-l Outputs the name of the JSP page upon failure
-s Outputs the name of the JSP page upon success
-p <name> Name of target package
-c <name> Name of target class name
(only applies to first JSP page)
-mapped Generate separate write() calls for each HTML line in the JSP
-die[#] Generate an error return code (#) on fatal errors.
If the number is absent or unparsable it defaults to 1.
-uribase <dir> The uri directory compilations shoule be relative to
(Default is "/")
-uriroot <dir> The root directory that uri files should be resolved
against, (Default is the directory jspc is invoked from)
-webinc <file> Creates partial servlet mapings for the -webapp option
-webxml <file> Creates a complete web.xml when using the -webapp option.
-ieplugin <clsid> Java Plugin classid for Internet Explorer
-sax2 <driverclassname> Driver class name for the SAX 2.0 parser to be used
You have the choice :-)
-- Jeanfrancois
Carson, Chuck wrote:
What within tomcat pre-compiles the jsp pages into java files so that
they can then be compiled by javac?
Much thanks,
CC
----------
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any
errors or omissions in the contents of this message, which arise as a
result of e-mail transmission. If verification is required please
request a hard-copy version.
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
-- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
