tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Precompiled jsp's
Date Thu, 25 Oct 2001 19:38:46 GMT

I precompile my jsps at build time using jspc.  If you add the mappings in your
web.xml, the server will use these instead of precompiling the jsps for you.


"Nikola Milutinovic" <> on
10/25/2001 01:23:42 AM

Please respond to

cc:    (bcc: David Hay/Lex/Lexmark)
Subject:  Re: Precompiled jsp's

> Why are you pre-compiling the JSP's?
> Doesn't Tomcat do that automatically?

How do you precompile JSPs on startup? I know they can be precompiled if called
with that "precompile" URL. But suppose I had a lot of JSPs and I would like to
tell Tomcat to precompile a defined portion of them into run-time servlets, so I
could avoid that initial lag of first-time-run JSP.


View raw message