• Post Reply Bookmark Topic Watch Topic
  • New Topic

Where do I put pre-compiled JSP's?

 
John Smith
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've managed to pre-compile all of my JSP's using Tomcat's (version 4.0.3) org.apache.jasper.JspC class. I have also successfully compiled the resulting .java files into .class files. Now where do I put them!?
I tried putting them into the work\localhost\ directory but it didn't work. When the JSP's get compiled on the fly, that's where they get stored so I figured it should work. Do I need to put them in a jar file? Do I need to mess with my server.xml or web.xml files? Does anyone here know what to do with pre-compiled (.class) JSP files in Tomcat 4.0.3?
Thanks,
Randy
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What doesn't work? I'm interested but I don't know the solution. I'd also be interested to know why you have to do it like this.
You could try the tomcat forum.
Adam
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!