Class VelocityStrutsUtil

java.lang.Object
org.apache.struts2.util.StrutsUtil
org.apache.struts2.views.velocity.VelocityStrutsUtil

public class VelocityStrutsUtil extends StrutsUtil
Struts velocity related util.
  • 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