Two Laptop Bag*
The moose likes Tomcat and the fly likes Pre Compiling jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Pre Compiling jsp" Watch "Pre Compiling jsp" New topic
Author

Pre Compiling jsp

Apna Apana
Greenhorn

Joined: May 01, 2007
Posts: 20
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.





 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pre Compiling jsp
 
Similar Threads
include directive
Problem with JspC taskdef
Precompiling JSP's in Tomcat
JSP precompilation with Jasper2
JSP Compilation using ANT