JSP Parameter Property Editor

The JSP Parameter property editor enables you to specify JSP configuration information. You open the JSP Parameter property editor by selecting the Jsp Param property and its ellipsis (...) button from the Sun ONE AS pane of the web.xml property sheet.

Adding a JSP parameter

To add a JSP parameter:

  1. From the JSP Parameter property editor, click Add.
  2. Select the parameter name in the Param Name field and type its value in the Param Value field. See List of Parameters below for possible parameters.
  3. Edit the description of the parameter in the Description field.
  4. Click OK. The information you have specified is reflected in the property editor. You may add additional parameters by clicking Add.

Editing a JSP parameter

To edit a JSP parameter:

  1. From the JSP Parameter property editor, select the parameter and click Edit.
  2. Change the parameter name, value, and description in the dialog box. See List of Parameters below for possible parameters.
  3. Click OK. The information you have modified is reflected in the property editor.

Removing an JSP parameter

To remove an JSP parameter:

List of Parameters

The following describes parameters for the JSP:

Property Name Value
reload-interval The frequency, in seconds, at which the JSP’s dynamic class reloading feature is invoked. Setting this value to 0 checks JSPs for modifications on every request. Setting this value to -1 disables dynamic class reloading.
ieClassId The Java plugin COM class ID for Internet Explorer. Its value is used by the <jsp:plugin> tags.
javaCompilerPlugin

The fully qualified class name of the Java compiler plug-in to be used. It is not needed for the default compiler.

For example, to use the jikes compiler for JSP pages, set the javaCompilerPlugin property, then set the javaCompilerPath property as follows:

org.apache.jasper.compiler.JikesJavaCompiler

javaCompilerPath The path to the executable of an out-of-process Java compiler such as jikes. It is needed only if the javaCompilerPlugin property is specified, and it is ignored for the default compiler.
javaCompilerClasspath The extra classpath that will be passed to the java compiler when it is invoked to compile the generated servlet to a class file. The only time that this needs to be specified is if the java compiler needs a vendor specific jar in the classpath to do the compilation. This is not needed in the default case.
javaEncoding

The encoding for the generated Java servlet. This encoding is passed to the Java compiler used to compile the servlet as well. By default, the web container tries to use UTF8. If that fails, it tries to use the javaEncoding value.

For encodings you can use, see:

http://java.sun.com/j2se/1.4/docs/guide/intl/encoding.doc.html

classdebuginfo The flag that specifies whether the generated Java servlets should be compiled with the debug option set (-g for javac).
keepgenerated The flag that specifies whether the generated Java servlet sources for each page should be kept or deleted. If set to true, the generated Java files are kept. If false, the Java files are deleted. By default. the java code is not deleted in order to aid debugging.
largefile The flag that specifies whether the static content of JSP pages should be stored in external data files, to reduce the size of the generated servlets. If set to true, static HTML is stored as a separate data file when a JSP is compiled. This is useful when a JSP is very large, because it minimizes the size of the generated servlet.
mappedfile The flag that specifies whether the container should generate static content with one print statement per input line. If set to true, generates separate write calls for each HTML line and adds 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.
scratchdir The working directory to use when compiling JSP pages, It also stores all the generated code.

See also
   Web Module Property Sheet: Sun ONE AS Tab

Legal Notices