1

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?

Dims
  • 47,675
  • 117
  • 331
  • 600

1 Answers1

0

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

Chii
  • 14,540
  • 3
  • 37
  • 44