This is a struts-user question, but....

set redirect="true" on your action forwards.  There are other
implications/caveats to this like not being able to get at request variables
that were set before (because its another request, of course).

    Erik


----- Original Message -----
From: "Praveer Mathur" <[EMAIL PROTECTED]>
To: "Struts Developers List" <[EMAIL PROTECTED]>
Sent: Tuesday, May 28, 2002 1:44 AM
Subject: refreshing screens that use struts


> Hi Group,
>
> We are using Apache struts framework for our application.
> What happens is, irrespective of the *.do called, my browser URL always
> stays as the first *.do called in application i.e. login.do. Now, whenever
> the browser refresh button is pressed, irrespective of the screen
currently
> being displayed, I get the first screen of my application.
>
> To avoid this, we either need to trap the browser 'Refresh' button and
call
> the appropriate *.do ourselves or, set the browser URL to the actual *.do
it
> called last.
>
> >From what I have found on the net, it's not possible to trap the browser
> 'Refresh'. Is there any setting in any file of struts or anywhere else to
do
> the latter?
>
>
> Regards,
> Praveer
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to