On Mon, 29 Mar 1999, Patrick McGovern wrote:
[snip]
> I'm having a problem with IE. I have servlet that presents some information to the 
>user. It also has a link that will allow then to change through another servlet. Upon 
>return to the first servlet IE displays the original information and does not reflect 
>the information that was changed on servlet B. I assume it's reading servlet A from 
>cache as this does not happen with Netscape. I need to know how to get IE not to read 
>from cache but to re-run the servlet.

Try this:

// get the output stream for the response
response.setContentType("text/html");
response.setHeader("pragma", "no-cache");
PrintWriter writer = new PrintWriter(response.getOutputStream());

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to