FileDocCategorySizeDatePackage
Options.javaAPI DocApache Tomcat 6.0.145470Fri Jul 20 04:20:36 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 booleangenStringAsCharArray()
Are Text strings to be generated as char arrays?

public java.util.MapgetCache()
The web-application wide cache for the returned TreeNode by parseXMLDocument in TagLibraryInfoImpl.parseTLD, if isCaching returns true.

return
the Map(String uri, TreeNode tld) instance.

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.StringgetCompilerClassName()
Java compiler class 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 booleangetDisplaySourceFragment()
Should we include a source fragment in exception messages, which could be displayed to the developer ?

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 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 java.io.FilegetScratchDir()
What is my scratch dir?

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

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 booleanisCaching()
Is caching enabled (used for precompilation).

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 booleanisXpoweredBy()
Is generation of X-Powered-By response header enabled/disabled?