Package org.apache.commons.jelly.servlet
Class JellyServletContext
java.lang.Object
org.apache.commons.jelly.JellyContext
org.apache.commons.jelly.servlet.JellyServletContext
- Version:
- 1.1
- Author:
- Kelvin Tan
-
Field Summary
Fields inherited from class org.apache.commons.jelly.JellyContext
classLoader, useContextClassLoader
-
Constructor Summary
ConstructorsConstructorDescriptionJellyServletContext
(jakarta.servlet.ServletContext ctx) JellyServletContext
(JellyContext parent, jakarta.servlet.ServletContext ctx) -
Method Summary
Modifier and TypeMethodDescriptionprotected JellyContext
Factory method to create a new child of this contextAllow access of relative URIs when performing <j:include>.Allow access of relative URIs when performing <j:include>.Methods inherited from class org.apache.commons.jelly.JellyContext
clear, clearVariables, compileScript, compileScript, compileScript, createRelativeURL, createXMLParser, findVariable, getClassLoader, getCurrentURL, getJellyContextURL, getJellyContextURL, getParent, getRootURL, getScope, getTagLibrary, getUseContextClassLoader, getVariable, getVariable, getVariableNames, getVariables, getVariableWithDefaultValue, getXMLParser, isAllowDtdToCallExternalEntities, isCacheTags, isExport, isExportLibraries, isInherit, isTagLibraryRegistered, newJellyContext, newJellyContext, registerTagLibrary, registerTagLibrary, removeVariable, removeVariable, runScript, runScript, runScript, runScript, runScript, runScript, runScript, runScript, setAllowDtdToCallExternalEntities, setCacheTags, setClassLoader, setCurrentURL, setExport, setExportLibraries, setInherit, setParent, setRootURL, setUseContextClassLoader, setVariable, setVariable, setVariables
-
Constructor Details
-
JellyServletContext
public JellyServletContext() -
JellyServletContext
public JellyServletContext(jakarta.servlet.ServletContext ctx) -
JellyServletContext
-
-
Method Details
-
getResource
Allow access of relative URIs when performing <j:include>.- Overrides:
getResource
in classJellyContext
- Parameters:
s
-- Returns:
- Throws:
MalformedURLException
-
getResourceAsStream
Allow access of relative URIs when performing <j:include>.- Overrides:
getResourceAsStream
in classJellyContext
- Parameters:
s
-- Returns:
-
createChildContext
Description copied from class:JellyContext
Factory method to create a new child of this context- Overrides:
createChildContext
in classJellyContext
-