JSP can be regarded as nice template and/or preprocessor engine. I would like to generate some XML files by program with it.
What is the simplest way to accomplish this?
JSP can be regarded as nice template and/or preprocessor engine. I would like to generate some XML files by program with it.
What is the simplest way to accomplish this?
tomcat has a jsp compiler, which is wrapped up quite nicely in an ant task that you can just call: https://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/jasper/JspC.html