If you use war dependencies for building your web applications the approach described in part 1 will not work for your application because the JSPC-Plugin by default works on your local JSP files and is executed during the lifecycle phase "process-classes".
Here is how to deal with this added requirement.
I write mostly on some ways to build software. It has been mostly centered on Maven in the past but the focus is shifting more and more towards Gradle and other build tools.
Monday, September 14, 2009
Sunday, September 13, 2009
Precompiling JSP Pages with Maven
Recently I encountered the requirement to precompile JSP pages in a Maven webapp project using the following environment:
- Java 5
- Tomcat 5.x
- Jsp pages with XML Syntax (jspx)
Solving the problem is not too difficult if you keep some things in mind.
Subscribe to:
Posts (Atom)