Class JspTemplateUtils


  • public class JspTemplateUtils
    extends Object
    Author:
    Loc Ha
    • Constructor Detail

      • JspTemplateUtils

        public JspTemplateUtils()
    • Method Detail

      • executeByteArray

        public static byte[] executeByteArray​(javax.servlet.http.HttpServletRequest request,
                                              javax.servlet.http.HttpServletResponse response,
                                              String templatePath,
                                              Object model)
                                       throws javax.servlet.ServletException,
                                              IOException
        Throws:
        javax.servlet.ServletException
        IOException
      • executeString

        public static String executeString​(javax.servlet.http.HttpServletRequest request,
                                           javax.servlet.http.HttpServletResponse response,
                                           String templatePath,
                                           Object model)
                                    throws javax.servlet.ServletException,
                                           IOException
        Throws:
        javax.servlet.ServletException
        IOException