com.opensymphony.webwork.util
Class WebWorkUtil
java.lang.Object
com.opensymphony.webwork.util.WebWorkUtil
- Direct Known Subclasses:
- FreemarkerWebWorkUtil, VelocityWebWorkUtil
- public class WebWorkUtil
- extends Object
WebWork base utility class, for use in Velocity and Freemarker templates
- Version:
- $Revision: 1.14 $
- Author:
- Rickard ?????berg (rickard@dreambean.com), Cameron Braid
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
request
protected HttpServletRequest request
response
protected HttpServletResponse response
classes
protected Map classes
ognl
protected OgnlTool ognl
stack
protected com.opensymphony.xwork.util.OgnlValueStack stack
WebWorkUtil
public WebWorkUtil(com.opensymphony.xwork.util.OgnlValueStack stack,
HttpServletRequest request,
HttpServletResponse response)
bean
public Object bean(Object aName)
throws Exception
- Throws:
Exception
findString
public Object findString(String name)
include
public String include(Object aName)
throws Exception
- Throws:
Exception
include
public String include(Object aName,
HttpServletRequest aRequest,
HttpServletResponse aResponse)
throws Exception
- Deprecated. the request and response are stored in this util class, please use include(string)
- Throws:
Exception
textToHtml
public String textToHtml(String s)
urlEncode
public String urlEncode(String s)