Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Precompiling JSP Files  RSS feed

 
Ashish Agrawal
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody know how to precompile all the jsp files on or before startup of a webserver? (I am using Tomcat 4.0)

Like .... maybe using jspc.bat....but it just translates the jsp to .java file....but doesn't compile. Each jsp gets compiled only on first http request.

Is there any way to do this using ANT?

Please reply ASAP. Thanks.

- Ashish Agrawal
 
Ramesh Ch
Greenhorn
Posts: 25
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"chsvramesh",

We're pleased to have you here with us on the Ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!