Hi,

You can force tomcat to check if the .class has been modified . You need to
change the server.xml and set the reloadable element in context path tag to
true.
This will make  tomcat to shutdown and reload automatically, if any change
is made to classes in the WEB-INF directory.But there is overhead associated
with checking (I am not sure what it is, as i have not tried it).
The server.xml file is in the conf sub-directory of tomcat.
Again, I  do not know if this automatic restart by tomcat would make it lose
the old session info.

Regards
Mahesh

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Antonio W. Lagnada
Sent: Friday, October 20, 2000 6:43 PM
To: [EMAIL PROTECTED]
Subject: Servlet/JSP Development


Hello,

When I am developing JSP/Servlets, I find that I don't get the changes
that I've made to a particular class unless I restart Tomcat.  I find
this to be real annoying because I could be depending on the state of
session variables--and when I restart the server I lose the session.

Does anyone have an idea or good programming habits out there for my
situation?  How can I force the browser or Tomcat to NOT CACHE the classes?


Thank you,
--
Antonio W. Lagnada
[EMAIL PROTECTED]

This email address is specifically
for JSP-Interest email list.
Remove _NOSPAM for the actual email.


___________________________________________________________________
To get your own FREE ZDNet Onebox - FREE voicemail, email, and fax,
all in one place - sign up today at http://www.zdnetonebox.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to