Class VelocityStrutsUtil
java.lang.Object
org.apache.struts2.util.StrutsUtil
org.apache.struts2.views.velocity.VelocityStrutsUtil
Struts velocity related util.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionVelocityStrutsUtil
(org.apache.velocity.app.VelocityEngine engine, org.apache.velocity.context.Context ctx, ValueStack stack, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) -
Method Summary
Methods inherited from class org.apache.struts2.util.StrutsUtil
bean, buildUrl, findString, findValue, findValue, getContext, getText, include, isTrue, makeSelectList, toInt, toLong, toLong, toString, toString, toStringSafe, translateVariables, urlEncode
-
Constructor Details
-
VelocityStrutsUtil
public VelocityStrutsUtil(org.apache.velocity.app.VelocityEngine engine, org.apache.velocity.context.Context ctx, ValueStack stack, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
-
-
Method Details
-
evaluate
public String evaluate(String expression) throws IOException, org.apache.velocity.exception.ResourceNotFoundException, org.apache.velocity.exception.MethodInvocationException, org.apache.velocity.exception.ParseErrorException - Throws:
IOException
org.apache.velocity.exception.ResourceNotFoundException
org.apache.velocity.exception.MethodInvocationException
org.apache.velocity.exception.ParseErrorException
-