Have you looked at the server logs or tried using an HTTP Monitor utility to see what is actually getting sent back and forth from your browser? How about putting a breakpoint in the page and checking the values using a debugger.
-Richard -----Original Message----- From: Rizwan Merchant [mailto:[EMAIL PROTECTED] Sent: Monday, June 12, 2006 3:18 PM To: Struts Users Mailing List Subject: Re: Page does not refresh after action Hi Richard, I tried this and it still doesnt work..here is a snippet from my jsp.. Not sure why this wont work..!! <%@ include file="/taglibs.jsp"%> <head> <meta http-equiv="Expires" CONTENT="0"> <meta http-equiv="Cache-Control" CONTENT="no-cache"> <meta http-equiv="Pragma" CONTENT="no-cache"> </head> <script> Yee, Richard K CTR DMDC wrote: > Try putting this in your <head> </head> of your jsp > <meta http-equiv="Expires" CONTENT="0"> > <meta http-equiv="Cache-Control" CONTENT="no-cache"> > <meta http-equiv="Pragma" CONTENT="no-cache"> > > -Richard > > -----Original Message----- > From: Rizwan Merchant [mailto:[EMAIL PROTECTED] > Sent: Monday, June 12, 2006 1:34 PM > To: Struts Users Mailing List > Subject: Re: Page does not refresh after action > > > > Hi, > I tried setting the response headers in the action before forwarding > to > the appropriate jsp page...but the pages are still cached for some > reason...here is what i did..please can you tell me what I am doing wrong. > Thanks. > > In the action method... > request.setAttribute("orders", orders); > response.setHeader("Cache-Control", "no-cache"); > response.setHeader("Pragma","no-cache"); > response.setHeader("Cache-Control","no-store"); > return mapping.findForward("edit_cancel_list"); > > > In the jsp... > > <%@ include file="/taglibs.jsp"%> > <head> > <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"/> > </head> > <script> > . > . > > > Michael Jouravlev wrote: > >> Do the pages have the same URL? Set "no-cache" response header either >> individually for that page, or globally for a whole Struts application >> using <controller nocache="true"/>. >> >> On 6/9/06, Rizwan Merchant <[EMAIL PROTECTED]> wrote: >> >>> Hi, >>> I have a page with a bunch of orders, and each order has a "Cancel" >>> button next to it and the status text of that order. When I cancel a >>> particular order, the appropriate action is called, the order is >>> canceled and the action then returns to the same page. I can see the >>> page being reloaded (thru the status bar on the browser), but the >>> status text (which should now say "Canceled") for the order remains >>> the same until I hit "Refresh" again (or come back to the page by >>> navigating to it). Is it possible that the browser is caching the >>> status text and how can I overcome this problem? >>> >>> Thanks, >>> -Riz. >>> >>> -------------------------------------------------------------------- >>> - >>> 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] >> >> >> > > --------------------------------------------------------------------- > 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] > > > --------------------------------------------------------------------- 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]