Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Compiling JSP Pages

 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
If we want our servlet compiled at deployment time, we use <load-on-startup> tag in web.xml...
How should we do if we want our JSP page can also be compiled at deployment time?
thanks
daniel
 
Kem Bro
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dan,
I don't think the load on startup option compiles the servlet. AFAIK it creates an instance of the object in memory, you still have to compile it first. I know this doesn't answer your question, but just in case this makes it any clearer (if I'm right !!!)
Cheers
.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!