Hi Koen,

Geeta's earlier solution shd work...

Or 

Try this, we had a similar problem sometime n solved with these line... 

response.setHeader("Cache-control","private,no-cache");
response.setHeader("Expires","-10000000");
response.setHeader("pragma","no-cache");


cio
Raj

  ----- Original Message ----- 
  From: Geeta Ramani 
  To: Struts Users Mailing List 
  Sent: Friday, February 20, 2004 6:45 PM
  Subject: Re: redirect problem


  Hi Koen:

  Try adding the foll. lines at the top of your (resultant) jsp:

  <%
  response.setHeader("Cache-Control", "no-cache");
    response.setHeader("Pragma", "no-cache");
    response.setIntHeader("Expires", 0);
  %>

  This *may* do the trick.. (I *hate* browser cache problems..(:(..)
  Regards,
  Geeta

  koen boutsen wrote:

  > Hi
  > I use a menu in my application. When a user clicks on a menu item, the browser
  > returns to a cached file, and does not do the action that is behind the menu item.
  > I thought I could solve this by making the forwards in the strutsconfig 'redirect 
= true'.
  > This way, cliking a menu item does go to the action, but in the
  > browser, it always goes back to the page with the previous content.
  >  When I refresh the page, the correct content appears (without any action on the 
server.)
  > I use Websphere as application server and netscape en IE as browser.
  >
  > Can anyone explain me what really happens and how I can resolve this.
  >
  > Any help is very appreciated
  >
  > Koen Boutsen
  >
  > ____________________________________________________________
  > Find what you are looking for with the Lycos Yellow Pages
  > 
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
  >
  > ---------------------------------------------------------------------
  > To unsubscribe, e-mail: [EMAIL PROTECTED]
  > For additional commands, e-mail: [EMAIL PROTECTED]


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to