Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Compiling JSP Pages  RSS feed

 
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
.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!