public class JellyServletContext extends JellyContext
classLoader, useContextClassLoader
Constructor and Description |
---|
JellyServletContext() |
JellyServletContext(JellyContext parent,
javax.servlet.ServletContext ctx) |
JellyServletContext(javax.servlet.ServletContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected JellyContext |
createChildContext()
Factory method to create a new child of this context
|
URL |
getResource(String s)
Allow access of relative URIs when performing <j:include>.
|
InputStream |
getResourceAsStream(String s)
Allow access of relative URIs when performing <j:include>.
|
clear, clearVariables, compileScript, compileScript, compileScript, createRelativeURL, createXMLParser, findVariable, getClassLoader, getCurrentURL, getJellyContextURL, getJellyContextURL, getParent, getRootURL, getScope, getTagLibrary, getUseContextClassLoader, getVariable, getVariable, getVariableNames, getVariables, getVariableWithDefaultValue, getXMLParser, isCacheTags, isExport, isExportLibraries, isInherit, isTagLibraryRegistered, newJellyContext, newJellyContext, registerTagLibrary, registerTagLibrary, removeVariable, removeVariable, runScript, runScript, runScript, runScript, runScript, runScript, runScript, runScript, setCacheTags, setClassLoader, setCurrentURL, setExport, setExportLibraries, setInherit, setParent, setRootURL, setUseContextClassLoader, setVariable, setVariable, setVariables
public JellyServletContext()
public JellyServletContext(javax.servlet.ServletContext ctx)
public JellyServletContext(JellyContext parent, javax.servlet.ServletContext ctx)
public URL getResource(String s) throws MalformedURLException
getResource
in class JellyContext
s
- MalformedURLException
public InputStream getResourceAsStream(String s)
getResourceAsStream
in class JellyContext
s
- protected JellyContext createChildContext()
JellyContext
createChildContext
in class JellyContext
Copyright © 2014 Apache Software Foundation. All rights reserved.