You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Václavík Radek <Ra...@zentiva.cz> on 2004/09/02 11:53:11 UTC

Return to previous page(resp. action)?

Hi all,

is there some kind of "best practice" solution of this problem? After
performing some action, I would like to return to previous page (not using
javascript, but from some Action). e.g. user is presented with some
question. Answering yes invokes some action, which is known and continous to
specific action/page. But if the user selects No, I would like to return to
the page, that the user saw before. And I would like to do this in general,
not specifying input or any other parameter for every action.

Is there a common solution to this or do I have to come up with my own
mechanism of remembering previous state?

Thanks for answers.

Radek

_____________________________

Ing. Radek Václavík
ICS Department - webmaster

ZeNTIVA a.s.
U Kabelovny 130, 102 37 Praha 10
Czech Republic
tel. +420 267 243 296
_____________________________