• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Where do I put pre-compiled JSP's?

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Space pants. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic