> From: Terence M. Bandoian [mailto:tere...@tmbsw.com] > Subject: Context Path for a subdirectory
> > A webapp can never be nested inside another, so what you're trying > > to do is nonsensical. > I don't mean to be argumentative but, with Tomcat 6.0.29, I found that > static files from an images subdirectory of a web application were not > cached by Internet Explorer 7. As a workaround, I created a context for > the images subdirectory and left it nested in the web application. The > files from that directory were then cached by IE7. The difference was > that the following response headers were included when there was no > separate context defined for the subdirectory: > Pragma: No-cache > Cache-Control: no-cache > Expires: Wed, 31 Dec 1969 18:00:00 CST > I realize this is a non-standard configuration but it worked with 6.0.29 > and 6.0.35. It may accidentally work in some versions, but it is in no way a supported configuration. I think the effort would be better spent in figuring out how to control the headers properly rather than inventing something that is known to be contrary to the spec. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org