tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Help root context problem!!!
Date Thu, 09 Oct 2003 20:15:22 GMT
Here is it.

<!-- Tomcat Root Context -->
<Context path="" docBase="PageWorks" debug="0" />

Thank You,

Justin A. Stanczak
Web Manager
Shake Learning Resource Center
Vincennes University

"Shapira, Yoav" <>
10/09/2003 03:04 PM
Please respond to "Tomcat Users List"

        To:     "Tomcat Users List" <>
        Subject:        RE: Help root context problem!!!

Post the relevant sections of your server.xml.  All you had to do is
make path="" in your Context declaration.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: []
>Sent: Thursday, October 09, 2003 3:41 PM
>Subject: Help root context problem!!!
>I'm having caching problems with Tomcat. Here's what I'm trying to do.
>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
>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
>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
>once. Then from there on it sends the old content every time. The
>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
>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

This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, 
proprietary and/or privileged.  This e-mail is intended only for the 
individual(s) to whom it is addressed, and may not be saved, copied, 
printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your 
computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message