struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Asunto: How to get the ActionForward for the _previous_ page
Date Wed, 28 Jul 2004 03:34:59 GMT
We also had the similar need to go back in stack, we used a simple logic 
of maintaining the stack ourselves for path of actionforwards
when we needed to go back, we retrived the last item from the stack and 
created an actionforward object. 
This was veryuseful for us.

Puneet Agarwal
Tata Consultancy Services
07/27/2004 10:11 AM

Please respond to
"Struts Users Mailing List" <>

"Struts Users Mailing List" <>

Asunto: How to get the ActionForward for the _previous_ page

We implemented a navigation framework to be used with Struts.
It's a non intrusive navigation stack (by non intrusive i mean that you
do not have to extend any action, just place a Filter in the web.xml)

If you want to check it out, you can download it from

Hopefully, next month we will deploy our first release.

This is an early access, but the navigation package works fine and has an
example (check out the net.sf.opentranquera.ui.struts.navigation package
and the webapp/navigation web app).


>-- Mensaje original --
>Reply-To: "Struts Users Mailing List" <>
>Date:           Tue, 27 Jul 2004 14:50:40 +0200
>From:           Stefan Siegl <>
>Subject: How to get the ActionForward for the _previous_ page
>I created a small application using Struts and the internationalization

>and provided images (with the flags in the appropriate language) that
>allow the user to change the language. The changing of the language is

>done using a normal Action class. My problem is that after changing the

>language (resetting the session attribute) I do not know where to
>forward to. I want to forward to the last page independently on which
>page the language was selected. The problem with Struts is that i do not
>get any information about the last page that the user was on, so I am
>not able to forward to the last page. Is this correct or is there any
>workaround to do this?
>If this is not possible, then it would be nice to have that in a further
>release of Struts because I think that would be very helpful to create

>dialogues based on Struts.
>Thanks for your time,
>Best regards,
>To unsubscribe, e-mail:
>For additional commands, e-mail:

FiberTel, el nombre de la banda ancha

To unsubscribe, e-mail:
For additional commands, e-mail:


View raw message