Administration Console Online Help

 Previous Next Contents Index  

 


Jsp Descriptor --> Configuration

Tasks     Additional Documentation     Attributes

Overview

The jsp-descriptor element defines parameter names and values for JSPs.

Tasks

Configuring a New Web Application or Web Service

Using the Web Application Deployment Descriptor Editor

Additional Documentation

(Requires an Internet connection.)

jsp_descriptor Element

Configuring JSP Tag Libraries

Programming JSP Tag Extensions

Define a JSP Tag Library Descriptor

Attributes

Attribute Label

Description

Value Constraints

Compile Command

Specifies the full pathname of the standard Java compiler used to compile the generated JSP servlets.

Attribute: CompileCommand

Readable: yes

Writable: yes

Compiler Class

Name of a Java compiler that is executed in WebLogic Servers's virtual machine. Used in place of an executable compiler such as javac or sj. If this parameter is set, the compileCommand parameter is ignored.

Attribute: CompilerClass

Readable: yes

Writable: yes

Compile Flags

Passes one or more command-line flags to the compiler. Enclose multiple flags in quotes, separated by a space.

Attribute: CompileFlags

Readable: yes

Writable: yes

Working Dir

Defines the name of a directory where WebLogic Server saves the generated Java and compiled class files for a JSP.

Attribute: WorkingDir

Readable: yes

Writable: yes

Verbose

When set to true, debugging information is printed out to the browser, the command prompt, and WebLogic Server log file.

Attribute: Verbose

Readable: yes

Writable: yes

Keepgenerated

Saves the Java files that are generated as an intermediary step in the JSP compilation process. Unless this parameter is set to true, the intermediate Java files are deleted after they are compiled.

Attribute: Keepgenerated

Readable: yes

Writable: yes

Page Check Seconds

The interval, in seconds, at which WebLogic Server checks to see if JSP files have changed and need recompiling. Dependencies are also checked and recursively reloaded if changed. If set to 0, pages are checked on every request. If set to -1, page checking and recompiling is disabled.

Attribute: PageCheckSeconds

Default: 0

Readable: yes

Writable: yes

Encoding

Specifies the default character set used in the JSP page. Use standard Java character set names. If not set, this parameter defaults to the encoding for your platform. A JSP page directive (included in the JSP code) overrides this setting.

Attribute: Encoding

Readable: yes

Writable: yes

Package Prefix

Specifies the package into which all JSP pages are compiled.

Attribute: PackagePrefix

Readable: yes

Writable: yes

No Try Blocks

If a JSP file has numerous or deeply nested custom JSP tags and you receive a java.lang.VerifyError exception when compiling, use this flag to allow the JSPs to compile correctly.

Attribute: NoTryBlocks

Readable: yes

Writable: yes

Precompile

When set to true, WebLogic Server automatically precompiles all JSPs when the Web Application is deployed or re-deployed or when starting WebLogic Server.

Attribute: Precompile

Readable: yes

Writable: yes

Compiler Supports Encoding

When set to true, the JSP compiler uses the encoding specified with the contentType attribute contained in the page directive on the JSP page, or, if a contentType is not specified, the encoding defined with the encoding parameter in the jsp-descriptor. When set to false, the JSP compiler uses the default encoding for the JVM when creating the intermediate .java file.

Attribute: CompilerSupportsEncoding

Readable: yes

Writable: yes

Superclass

Attribute: Superclass

Readable: yes

Writable: yes

Exact Mapping

When true, upon the first request for a JSP the newly created JspStub is mapped to the exact request. If exactMapping is set to false the webapp container generates non-exact url mapping for JSPs. exactMapping allows path info for JSP pages.

Attribute: ExactMapping

Readable: yes

Writable: yes

Debug Enabled

Attribute: DebugEnabled

Readable: yes

Writable: yes



 

Back to Top Previous Next