Re: image/servlet caching issue

2001-05-30 Thread Lance Lavandowska
have you implemented HttpServer.getLastModified(HttpServletRequest req)? Try returning -1, this should tell the browser that the requested resource should not be cached. This is the default behaviour, so you might try returning the actual current time, this will tell the browser that the resource

RE: image/servlet caching issue

2001-05-30 Thread Aaron Tavistock
First off, I have a similar servlet sending images running in Orion right now and it does not display this behavior (Although mine uses path info instead of request parameters so the URL still looks like an image). So I'm pretty sure its not Orion. Narrowing to a solution depends alot on whethe

RE: image/servlet caching issue

2001-05-30 Thread Todd McGrath
Sorry, I fixed it. I was doing an "if (chart == null)" in the servlet that generates graph. I just removed that "if" test and the images are loading the proper way now. I assumed that chart object would always be null, but not so. -Original Message- From: [EMAIL PROTECTED] [mailto:[EM

RE: image/servlet caching issue

2001-05-30 Thread elephantwalker
I think this will solve your problem, add this in your response handler: response.addHeader("Pragma", "no-cache"); response.addHeader("Cache-Control", "no-store"); This should do the trick. Regards, the elephantwalker -Original Message- From: [EMAIL PROTECTED] [mai