• 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
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
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
 
I didn't say it. I'm just telling you what this tiny ad said.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic