Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to pre-compiler .jsp in tomcat??

 
tomas ho
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When running .jsp in first time,tomcat JVM compiles .jsp to .java.
But I want all .jsp to be compiled at the time of startup.
Not compiled by user's request at first time.
Somebody knows how to do that??
Please ..thanks..??
 
Santosh Maskar
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
you can use the Ant script to compile the jsp,

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html

this may help you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic