Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » jasper » [javadoc | source]
org.apache.jasper
public interface: Options [javadoc | source]

All Known Implementing Classes:
    EmbeddedServletOptions, JspC

A class to hold all init parameters specific to the JSP engine.
Method from org.apache.jasper.Options Summary:
genStringAsCharArray,   getCache,   getCheckInterval,   getClassDebugInfo,   getClassPath,   getCompiler,   getCompilerClassName,   getCompilerSourceVM,   getCompilerTargetVM,   getDevelopment,   getDisplaySourceFragment,   getErrorOnUseBeanInvalidClassAttribute,   getFork,   getIeClassId,   getJavaEncoding,   getJspConfig,   getKeepGenerated,   getMappedFile,   getModificationTestInterval,   getScratchDir,   getSendErrorToClient,   getTagPluginManager,   getTldLocationsCache,   getTrimSpaces,   isCaching,   isPoolingEnabled,   isSmapDumped,   isSmapSuppressed,   isXpoweredBy
Method from org.apache.jasper.Options Detail:
 public boolean genStringAsCharArray()
    Are Text strings to be generated as char arrays?
 public Map getCache()
    The web-application wide cache for the returned TreeNode by parseXMLDocument in TagLibraryInfoImpl.parseTLD, if isCaching returns true.
 public int getCheckInterval()
    Background compile thread check interval in seconds
 public boolean getClassDebugInfo()
    Should we include debug information in compiled class?
 public String getClassPath()
    What classpath should I use while compiling the servlets generated from JSP files?
 public String getCompiler()
    Compiler to use.
 public String getCompilerClassName()
    Java compiler class to use.
 public String getCompilerSourceVM()
    Compiler source VM, e.g. 1.3, 1.4, or 1.5.
 public String getCompilerTargetVM()
    The compiler target VM, e.g. 1.1, 1.2, 1.3, 1.4, or 1.5.
 public boolean getDevelopment()
    Is Jasper being used in development mode?
 public boolean getDisplaySourceFragment()
    Should we include a source fragment in exception messages, which could be displayed to the developer ?
 public boolean getErrorOnUseBeanInvalidClassAttribute()
    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 boolean getFork()
    boolean flag to tell Ant whether to fork JSP page compilations.
 public String getIeClassId()
    Class ID for use in the plugin tag when the browser is IE.
 public String getJavaEncoding()
    Java platform encoding to generate the JSP page servlet.
 public JspConfig getJspConfig()
    Obtain JSP configuration informantion specified in web.xml.
 public boolean getKeepGenerated()
    Are we keeping generated code around?
 public boolean getMappedFile()
    Are we supporting HTML mapped servlets?
 public int getModificationTestInterval()
    Modification test interval.
 public File getScratchDir()
    What is my scratch dir?
 public boolean getSendErrorToClient()Deprecated! 
    Should errors be sent to client or thrown into stderr?
 public TagPluginManager getTagPluginManager()
    Obtain a Tag Plugin Manager
 public TldLocationsCache getTldLocationsCache()
    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).
 public boolean getTrimSpaces()
    Should white spaces between directives or actions be trimmed?
 public boolean isCaching()
    Is caching enabled (used for precompilation).
 public boolean isPoolingEnabled()
    Returns true if tag handler pooling is enabled, false otherwise.
 public boolean isSmapDumped()
    Indicates whether SMAP info for JSR45 debugging should be dumped to a file. Ignored is suppressSmap() is true
 public boolean isSmapSuppressed()
    Is the generation of SMAP info for JSR45 debugging suppressed?
 public boolean isXpoweredBy()
    Is generation of X-Powered-By response header enabled/disabled?