You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nicole Hibbard <nh...@xtelesis.com> on 2003/02/08 04:22:59 UTC

RE: Configuration Queston - Tomcat Server- Servlet Reloading

Hello:

I am also a newbie, but I will give it a shot.  Try turning on servlet
reloading which checks the modification date of the class files and reloads
ones that have changed.  This degrade performance in deployment, but is very
useful in developement.  If you fail to do it on your development server
then you have to restart each time.  I got this information from
http://www.moreservlets.com/Using-Tomcat-4.html.

edit install_dir/conf/server.xml and add a DefaultContext subelement to the
main Service element and supple true for the reloadable attribute.  The
easiest way to do this is find the following comment

<!--Define properties for each web application.  This is only if you want to
set....

and inser the following below it.

<DefaultContext reloadable="true"/>


-----Original Message-----
From: Art Beaudry [mailto:artbdry@netscape.net]
Sent: Friday, February 07, 2003 8:54 AM
To: tomcat-user@jakarta.apache.org
Subject: Configuration Queston - Tomcat Server



Ladies/Gentlemen,
  I have Apache's Tomcat Server running on my Windows Home XP system. I
am learning JSP using Sams Teach Yourself JavaServer Pages in 21 days.
The question is:
Why do I have to cold-boot every time I use Windows Explorer to create a
new folder while using the Tomcat Server? I should be able to point my
browser to that .jsp file and the browser should execute
that .jsp from that folder just after I put my .jsp file in that folder
or a compiled JAVA class in that folder....no? Is there something in
Windows Home XP which does not put the correct attributes on the new
folder just created??
This is becoming a pain.

Thanks for your help
Art


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org