You can precompile your jsp pages before deploying them. This will eliminate the need to compile on the fly for the first request. The <load-on-startup> element in the web.xml shouldn't be used to precompile jsp pages. It is intended for servlets that you need to have loaded and instantiated when the app server starts.
“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook
Joined: Mar 27, 2004
Yes, Paul is right. Sorry for the mistake. Anyway, usually the application servers provide some mechanism to initialize jsps at startup. This is not required by the spec, but most of them allow you to do so.