• 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
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

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
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic