Tomcat 3.x doesn't support sending responses back to the client in
HTTP 1.1 - it only supports 1.0.  If you want to send responses back to the
browser with HTTP 1.1 you must either use Apache, IIS, iPlanet, or some
other web server in front of Tomcat, or use Tomcat 4, which is current in
development.

        Randy

> -----Original Message-----
> From: josé placide [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 14, 2001 6:29 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Cache problem with IE
> 
> 
> Hello,
> 
> 
> Could somebody tell me please,
> how can i set HTTP/1.1 instead of 1.0
> 
> regards.
> 
> ----- Original Message -----
> From: "Joe Laffey" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, March 13, 2001 7:41 PM
> Subject: Re: Cache problem with IE
> 
> 
> > On Tue, 13 Mar 2001, Zsolt Koppany wrote:
> >
> > > I do it from a JSP and not from a servlet and the page look like:
> > >
> > > <%response.setHeader("Cache-Control",
> > > "no-cache");response.setHeader("Pragma", "no-cache");%>
> >
> > OK,
> >
> > Try telnetting to your box and issue the HTTP command:
> >
> > GET /<root/relative/path/to/file> HTTP/1.0
> >
> > (two returns)
> >
> > Then look at the header (which will be at the top and may 
> scroll off the
> > screen). You can also try the HEAD command instead of GET.
> >
> > You might also try HTTP/1.1 instead of 1.0 and see what the 
> responses are.
> > If you get headers like the ones you set ("Pragma: 
> no-cache", etc.) then
> > the problem is with the browser not honoring them. In this 
> case try the
> > META versions instead. If you do not get those headers than your JSP
> > container is not setting the headers for some reason.
> >
> > When you telnet look also for other headers like max-age 
> and expires. You
> > may have your server configured to set these for the file. 
> The browser may
> > be using these instead. Turn off Expires for the directory 
> or location in
> > question.
> >
> > Joe Laffey
> > LAFFEY Computer Imaging
> > St. Louis, MO
> > ----------------------
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
> >
> 

Reply via email to