Hi,
Does anyone know how to directly call a JSP engine to compile/generate a JSP page? That is, I would like to call a method which takes the url or filename of a JSP page, compiles it into a servlet (if it hasn't done so already), and finally returns the output of the page.
For example, any methods similar to the following would be optimal:
public String generateJSP(String filename);
public void generateJSP(HttpServletRequest req, HttpServletResponse res);
Any help would be greatly appreciated.
Thanks in advance,
jason
- Re: directly using JSP engines Reisman Jason
- Re: directly using JSP engines Craig McClanahan
