2014-02-27 10:17 GMT+04:00 Jeremy Boynes <jboy...@apache.org>:
>
> I was thinking of supporting compile-on-start as a option where the 
> initializer would scan the war for JSP(x) files and initiate the compilation 
> during startup. This was intended for production use where use of JspC was 
> not practical (e.g. because the actual version of runtime is not known at 
> pre-compilation time) but where taking a hit on access would be undesirable.

http://tomcat.apache.org/tomcat-7.0-doc/jasper-howto.html
-> "Background JSP compilation"

Compiling can take notable time, so I think it wouldn't be good to
delay application startup for that time.

> I was thinking there to combine the TLD and JSP scans into one.

Those are different scans.
For TLDs you have to scan jar files.
For JSPs you have to scan application resources.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to