Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Pre Compiling jsp  RSS feed

Apna Apana
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can some one tell me where to put the jsp precompilation build file(build.xml) in the Tomcat 7 structure.
I have a web application called myapp which is inside webapps folder and has bunch of jsp files, I want to precompile them using the following script.

Right now I have this build file called build.xml inside the build folder in myapp. So final structure is myapp has bunch of jsp files and a build folder with build.xml to precompile the jsps.
When I run the above build.xml using ant I get the following error.

I have debugged the jasper.jar code and identified that the build.xml is not finding the jsp files. Please correct me if I'm wrong .
So my question what is wrong with my build.xml and why is that jasper 2 task not finding the jsp files and how to tell the jasper2 task about the jsp files.

Thanks in Advance!!!
Please Help me
I am stuck and eagerly waiting for the reply.

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!