FileDocCategorySizeDatePackage
Options.javaAPI DocGlassfish v2 API6925Fri May 04 22:32:52 BST 2007org.apache.jasper

Options

public interface Options
A class to hold all init parameters specific to the JSP engine.
author
Anil K. Vijendran
author
Hans Bergsten
author
Pierre Delisle

Fields Summary
Constructors Summary
Methods Summary
public booleangenStringAsByteArray()
Are text strings to be generated as byte arrays, if the page is unbuffered?

public booleangenStringAsCharArray()
Are Text strings to be generated as char arrays?

public intgetCheckInterval()
Background compile thread check interval in seconds

public booleangetClassDebugInfo()
Should we include debug information in compiled class?

public java.lang.StringgetClassPath()
What classpath should I use while compiling the servlets generated from JSP files?

public java.lang.StringgetCompiler()
Compiler to use.

public java.lang.StringgetCompilerSourceVM()
Compiler source VM, e.g. 1.3, 1.4, or 1.5.

public java.lang.StringgetCompilerTargetVM()
The compiler target VM, e.g. 1.1, 1.2, 1.3, 1.4, or 1.5.

public booleangetDevelopment()
Is Jasper being used in development mode?

public booleangetErrorOnUseBeanInvalidClassAttribute()
Returns true if Jasper issues a compilation error instead of a runtime Instantiation error if the class attribute specified in useBean action is invalid.

public booleangetFork()
boolean flag to tell Ant whether to fork JSP page compilations.

public java.lang.StringgetIeClassId()
Class ID for use in the plugin tag when the browser is IE.

public intgetInitialCapacity()
Gets initial capacity of HashMap which maps JSPs to their corresponding servlets.

public java.lang.StringgetJavaEncoding()
Java platform encoding to generate the JSP page servlet.

public org.apache.jasper.compiler.JspConfiggetJspConfig()
Obtain JSP configuration informantion specified in web.xml.

public booleangetKeepGenerated()
Are we keeping generated code around?

public booleangetMappedFile()
Are we supporting HTML mapped servlets?

public intgetModificationTestInterval()
Modification test interval.

public booleangetSaveBytecode()
If class files are generated as byte arrays, should they be saved to disk at the end of compilations?

public java.io.FilegetScratchDir()
What is my scratch dir?

public booleangetSendErrorToClient()
Should errors be sent to client or thrown into stderr?

public java.lang.StringgetSystemClassPath()
Gets the system class path.

return
The system class path

public org.apache.jasper.compiler.TagPluginManagergetTagPluginManager()
Obtain a Tag Plugin Manager

public org.apache.jasper.compiler.TldLocationsCachegetTldLocationsCache()
The cache for the location of the TLD's for the various tag libraries 'exposed' by the web application. A tag library is 'exposed' either explicitely in web.xml or implicitely via the uri tag in the TLD of a taglib deployed in a jar file (WEB-INF/lib).

return
the instance of the TldLocationsCache for the web-application.

public booleangetTrimSpaces()
Should white spaces between directives or actions be trimmed?

public booleangetUsePrecompiled()
Returns the value of the usePrecompiled (or use-precompiled) init param.

public booleanisDefaultBufferNone()
If the buffer attribute for the page directive is not specified, is the default "none"?

public booleanisPoolingEnabled()
Returns true if tag handler pooling is enabled, false otherwise.

public booleanisSmapDumped()
Indicates whether SMAP info for JSR45 debugging should be dumped to a file. Ignored is suppressSmap() is true

public booleanisSmapSuppressed()
Is the generation of SMAP info for JSR45 debugging suppressed?

public booleanisValidationEnabled()

public booleanisXpoweredBy()
Is generation of X-Powered-By response header enabled/disabled?