Hi Justin, The work directory contains the generated source code and compiled classes for JSPs. When a JSP is first requested, Tomcat generates Java source code for the JSP, and then compiles it. Both the source code and the compiled class are stored there. Since you changed your context and didn't change any code, tomcat may not have updated your work directory accordingly.
Try shutting down tomcat, deleting the contents of your work directoy and restarting. You should not have to do this everytime. Regards, Paul -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 4:25 PM To: Tomcat Users List Subject: RE: Help root context problem!!! No, but what will that do for me? Would I have to do that every time? Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 "Lee, Paul NYC" <[EMAIL PROTECTED]> 10/09/2003 03:20 PM Please respond to "Tomcat Users List" To: 'Tomcat Users List' <[EMAIL PROTECTED]> cc: Subject: RE: Help root context problem!!! Hi Justin, Did you try deleting the contents of the work folder? Regards, Paul -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 3:41 PM To: [EMAIL PROTECTED] Subject: Help root context problem!!! I'm having caching problems with Tomcat. Here's what I'm trying to do. I have an app under the mapping of /PageWorks. In the context I have a index.jsp that does a jsp:forward to a servlet that handles the request. So to access the app you have to type http://myserver/PageWorks and it works. But, I want user to be able to type http://myserver and the /PageWorks/index.jsp with respond. So to do this I change the context in the server.xml file to point to PageWorks instead of ROOT. This also worked like I wanted, but the index.jsp is loaded from the /PageWorks app once. Then from there on it sends the old content every time. The servlet that this jsp is forwarding to changes and so does the jsp, but the http://myserver always returns the old. If you access the servlet or jsp using there full http://myserver/PageWorks path you get the new content every time. I've tried all the client side cache tricks, but I know for sure it's the server that's caching it. How can I get this to stop? Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]