See inline, please. ----- Original Message ----- From: "Hubert Rabago" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, March 24, 2004 3:56 PM Subject: Re: redirect="true" and Tiles; does it work?
> Is this correct? > > 1. User submits the form to /processTest.do TRUE. > > 2. The action for /processTest.do, TestProcessAction, sees that the token is > invalid and returns an ActionForward that redirects to > /showInvalidTokenMessage.do Actually to mapping.findForward("invalidToken") which is global forward to /showInvalidTokenMessage.do. So I assume the answer is TRUE; though i'm not sure. > > 3. "/showInvalidTokenMessage.do" forwards to the "invalidTokenMessageTile" > tile, at which time the browser shows > "http://localhost:8080/test/showInvalidTokenMessage.do" on the address bar TRUE. > > 4. The user sees the "invalidTokenMessageTile" tile and clicks on refresh > > And you're saying that with > "http://localhost:8080/test/showInvalidTokenMessage.do" on the address bar, > the user clicks on refresh and causes TestProcessAction to execute again? TRUE in Mozilla FireBird 0.7!!! And that's my default browser. In between these messages I thought I should give IE try and on IE 6.0.2800 the action is not called neither do I see the confrimation message of posting again! Boils down to Browser? > > > --- atta-ur rehman <[EMAIL PROTECTED]> wrote: > > http://localhost:8080/test/processTest.do > > and if and press Refresh here the url changes to: > > http://localhost:8080/test/showInvalidTokenMessage.do > > > > ATTA > > ----- Original Message ----- > > From: "Hubert Rabago" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > Sent: Wednesday, March 24, 2004 3:07 PM > > Subject: Re: redirect="true" and Tiles; does it work? > > > > > > > > > > --- atta-ur rehman <[EMAIL PROTECTED]> wrote: > > > > TestProcessAction just forwards to "success" forward. But before it > > does > > > > that it check for the valid token and in the case of an invalid token > > it > > > > just forwards (redirects) to the "invalidToken" global forward. > > > > > > > > On invalid token message press refresh again calls the test action with > > the > > > > browser confirmation. > > > > > > After the redirect and before pressing refresh, what's the URL shown on > > the > > > browser? > > > __________________________________ > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. > http://taxes.yahoo.com/filing.html > > --------------------------------------------------------------------- > 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]