struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Affan Qureshi" <quere...@etilize.com>
Subject Re: back button
Date Wed, 30 Oct 2002 14:47:39 GMT
You can disable the back button by using JavaScript history.forward() at the
top of your page. But i dont know if that solves your problem.

----- Original Message -----
From: "Gus Delgado" <gdelgado@oceanobjects.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Wednesday, October 30, 2002 6:38 PM
Subject: back button


> I have a JSP that has a sequence of actions.  First one is "validate"
> which will validate some IO File and the next one is "load" to load the
> file.
>
> When the user hits "validate" it sends a request to the back-end to do
> some validation and I get back a response.  When I hit Load it sends a
> request to the back-end to persist that file.
>
> the Load button depends on the validation button.  When click validate
> and get an ok response, load shows.
>
> The problem is the back button on the browser, the file is already
> validated but if I hit the back button the ui and the back-end are our
> of sync I can validate again.
>
> Any one run into this problem? how can it be handlel?  thanks.
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message