org.apache.struts2.util
类 VelocityStrutsUtil

java.lang.Object
  继承者 org.apache.struts2.util.StrutsUtil
      继承者 org.apache.struts2.util.VelocityStrutsUtil

public class VelocityStrutsUtil
extends StrutsUtil

Struts velocity related util.


构造方法摘要
VelocityStrutsUtil(org.apache.velocity.app.VelocityEngine engine, org.apache.velocity.context.Context ctx, com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
方法摘要
 String evaluate(String expression)
           
 
从类 org.apache.struts2.util.StrutsUtil 继承的方法
bean, buildUrl, findString, findValue, getContext, getText, include, include, isTrue, makeSelectList, toInt, toLong, toLong, toString, toString, toStringSafe, translateVariables, urlEncode
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

VelocityStrutsUtil

public VelocityStrutsUtil(org.apache.velocity.app.VelocityEngine engine,
                          org.apache.velocity.context.Context ctx,
                          com.opensymphony.xwork2.util.ValueStack stack,
                          javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
方法详细信息

evaluate

public String evaluate(String expression)
                throws IOException,
                       org.apache.velocity.exception.ResourceNotFoundException,
                       org.apache.velocity.exception.MethodInvocationException,
                       org.apache.velocity.exception.ParseErrorException
抛出:
IOException
org.apache.velocity.exception.ResourceNotFoundException
org.apache.velocity.exception.MethodInvocationException
org.apache.velocity.exception.ParseErrorException