org.norther.tammi.spray.servlet
Interface JSPEngine
- All Superinterfaces:
- CacheClient, Configurable, Refreshable, ServletEngine, Startable, TemplateEngine
- All Known Implementing Classes:
- DefaultJSPEngine
public interface JSPEngine
- extends ServletEngine
JSPEngine is an extension to ServletEngine for rendering JSP templates.
- Author:
- Ilkka Priha
|
Method Summary |
String |
getToolPrefix()
Gets the prefix to be applied to tool attribute keys if the transfer
tools option is set. |
boolean |
isContextTools()
Gets the context tools option. |
void |
setContextTools(boolean option)
Sets the context tools option. |
void |
setToolPrefix(String prefix)
Sets the prefix to be applied to tool attribute keys if the tranfer tools
option set. |
| Methods inherited from interface org.norther.tammi.spray.servlet.ServletEngine |
addFolderPath, addFolderPath, clearFolders, getContextName, getFolderPaths, getTemplateKey, isForwarded, removeFolderPath, setContextName, setFolderPaths, setForwarded, setTemplateKey |
| Methods inherited from interface org.norther.tammi.core.config.Configurable |
addProperty, addProperty, clearProperties, containsProperty, getConfigKey, getProperties, getProperty, getPropertyFilePath, indexOfProperty, propertyMap, propertyMap, removeProperty, removeProperty, setConfigKey, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, storeProperties |
isContextTools
boolean isContextTools()
- Gets the context tools option.
- Returns:
- true if the context tools option is set, otherwise false.
setContextTools
void setContextTools(boolean option)
- Sets the context tools option. If set, the template context tools are
included in the JSP request scope as request attributes.
- Parameters:
option - true to set the context tools option, otherwise false.
getToolPrefix
String getToolPrefix()
- Gets the prefix to be applied to tool attribute keys if the transfer
tools option is set.
- Returns:
- return the tool prefix.
setToolPrefix
void setToolPrefix(String prefix)
- Sets the prefix to be applied to tool attribute keys if the tranfer tools
option set. The purpose of the prefix is to avoid collisions within the
JSP request scope.
- Parameters:
prefix - tool prefix.
Copyright © 2004 The Norther Organization. All rights reserved.