Netscape ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS Programmer's Manual page 47

Guide to servlets
Table of Contents

Advertisement

-uriroot dir
-webinc file
-webxml file
-ieplugin class_id
-genclass
The
and
-webinc
-webxml
For example, this command (all on one line) compiles the JSPs in the HelloWorld
web application:
jspc -d dir -genclass -webapp
server_root/plugins/servlets/examples/web-apps/HelloWorld
The compiled JSPs are written under dir
in a .JAR file.
Additional documentation for the JSP compiler is on the Jakarta site:
http://jakarta.apache.org/
Jasper and Enterprise Server 6.1 are not tightly integrated, so you might need to
edit the JVM Classpath (in the Configure JVM Attributes page of the Server
Manager or in the
jvm12.conf
and so on. For more information about JVM settings, see Appendix C, "JVM
Configuration."
Specifies the root directory against which URI files are
resolved. Applies only to explicitly declared JSP files.
If this option is not specified, all parent directories of the first
JSP page are searched for a WEB-INF subdirectory. The closest
directory to the JSP page that has one is used.
If none of the JSP's parent directories have a WEB-INF
subdirectory, the directory from which jspc is invoked is
used.
Creates partial servlet mappings for the -webapp option,
which can be pasted into a web.xml file.
Creates an entire web.xml file for the -webapp option.
Specifies the Java plugin COM class ID for Internet Explorer.
Used by the <jsp:plugin> tags.
Generates class files in addition to Java files. The JDK
file must be in the JVM classpath.
tools.jar
options may not be useful for JSPs in Enterprise Server.
/_jsps/
file) when deploying JSPs using tag libraries, beans,
The JSP Command-Line Compiler
. You can then put these class files
Chapter 4
Using JavaServer Pages
47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.1

Table of Contents