Precompiled JSPs after Tomcat restart
- From: Frank Niedermann <fbn (at) thelogic.org>
- Date: Mon, 25 Sep 2006 02:12:01 -0700 (PDT)
JSP lifecycle documentation tells me that there should be .java
files named _0002fpageName_jsp.java. I don't have such files
(no java files at all).
I did a brand new Tomcat installation and executed one JSP
example but there is only a tldCache.ser file in work\Catalina\
localhost\jsp-examples.
Where are the compiled JSP files? How can I see if they get
cached or will Tomcat compile them every time or at restarts?
Regards,
Frank
Michael Zoller wrote:
> Frank Niedermann wrote:
>> Hello,
>>
>> is it right that Tomcat stores all compiled JSP sites in
>> Tomcat5\work\Catalina\localhost\application\org\apache\jsp?
>>
> yes.
>> After a restart of Tomcat I still see all the .class files
>> in above mentioned directory, does that mean that these files
>> do not have to be compiled again at first access to them?
>>
> Educated guess: The servlets/jsp still have to be executed. Once they
> are loaded into memory they will execute faster because caching
> mechanisms (harddisk and OS) apply.
>
>
> Michael
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users (at) tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
> For additional commands, e-mail: users-help (at) tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org
--
View this message in context: http://www.nabble.com/Precompiled-JSPs-after-Tomcat-restart-tf2303735.html#a6482813
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org