This may be off the subject, but I am unable to run any JSPs on
tomcat/apache/solaris. Could that be because the work folder must have write
permissions for everyone ... ?





"Andy C" <[EMAIL PROTECTED]> on 03/15/2001 02:14:29 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Suha Yacoub/IL/ONE)
Subject:  Re: 'work' Folder--help??




----- Original Message -----
From: "Christopher J Cowan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 14, 2001 11:27 PM
Subject: RE: 'work' Folder--help??


> I thought the work folder is for intermediate files used by Tomcat... as
> stated in the User Manual:


The work folder is for the .class files that your .jsp files generate.
Remember
.jsp is just inside out servlets.  When you create a .jsp file it is
compiled
into a .class file in the work directory when it is first requested.
However
if you change the .jsp file a new class file is created the first time the
page
is requested. There are I think 3 exceptions to this:

    If a servlet is included on the page using <jsp:include  and it changes,
    a new work file will    not be created.

    If a page is included with the <%@include and the include file is
    changed then the work file is not recreated.

    If a page uses Beans and a Bean is changed, the work file isn't
recreated
    and in fact the new Bean isn't re-loaded.

I think the above is correct, certainly seems to be from my experience.

Andy C
Editor The R2 Project
http://www.r2-dvd.org










Reply via email to