The JSP Command-Line Compiler
44 iPlanet Web Server, Enterprise Edition Programmer’s Guide to Servlets • May 2001
-v[level] Enables verbose mode. The level is optional; the default is 2.
Possible level values are:
• 0 - fatal error messages only
• 1 - error messages only
• 2 - error and warning messages only
• 3 - error, warning, and informational messages
• 4 - error, warning, informational, and debugging
messages
-d dir Specifies the output directory for the compiled JSPs. Package
directories are automatically generated based on the
directories containing the uncompiled JSPs. The default
top-level directory is the directory from which jspc is
invoked.
-dd dir Specifies the literal output directory for the compiled JSPs.
Package directories are not made. The default is the directory
from which jspc is invoked.
-p name Specifies the name of the target package for all specified JSPs,
overriding the default package generation performed by the
-d option.
-c name Specifies the target class name of the first JSP compiled.
Subsequent JSPs are unaffected.
-mapped Generates separate write calls for each HTML line and
comments that describe the location of each line in the JSP file.
By default, all adjacent write calls are combined and no
location comments are generated.
-die[code] Causes the JVM to exit and generates an error return code if a
fatal error occurs. If the code is absent or unparsable it defaults
to 1.
-uribase dir Specifies the URI directory to which compilations are relative.
Applies only to explicitly declared JSP files.
This is the location of each JSP file relative to the uriroot. If
this cannot be determined, the default is /.
Komentáře k této Příručce