Carlos,
tomcat will not check for changes in class files you put in CLASSPATH.

But you can tell tomcat to always check for newer class files this way:
In tomcat/conf/server.xls set reloadable="true" for the context of your web
application, and put the class file in webapps/.../WEB-INF/classes.

Your context in server.xls could look like this:
        <Context path="/test" docBase="webapps/test" debug="0" reloadable="true" >
        </Context>

Regards,
Vossi


Carlos Luna wrote:

>  I am developing a data base oriented application using
> jsp's running in a TOMCAT server. The architecture is the following:
>
>    +-------+  useBean  +------------+     JDBC   +-----------+
>    �  JSP  �  <----->  � AppendBean �  <-------> � Data Base �
>    +-------+           +------------+            +-----------+
>
>  I have tried to replace the AppendBean class with a newer
> version, but the changes have no effect. TOMCAT seems to ignore the
> changes. The class used when the jsp file is executed is still the
> old version.
>  In addition, there's just one class file, so I'm not making
> confusion handling a lot of them.
>
>  I was wondering if the problem could be located at the
> server's cache. After replacing an old class with a new version,
> should I explicitly tell the server to update its cache or whatever
> similar service?
>
>  Thank you very much in advance.
>  Please reply to [EMAIL PROTECTED]
>
> ===========================================================================
> 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