Hello everyone,

I´m returning to a problem I already had, but after googling for a while I 
could not find a good solution to that. So I´d like to ask you again, hoping 
that someone has a solution and I simply overlooked something.

How do I forward to the same page I was coming from? The typical example for 
this is the "change-language-problem". Someone is on one page and simply 
wants to change the language and expects to see the same page in a different 
language.
Another case could be, that I put a login-form on every page and no matter 
when the login is performed, the user will be returned to the same page he 
has been before.
Unfortunately I could not get this thing to work. As I´m using tiles most of 
the common forwards do not really work, as I can´t simply redirect to a 
JSP-Page on my server. I found another solution where people stored their 
last ActionForward into the session and recall this ActionForward. But this 
is only working if a user has only one browser-tab or one browser-window. If 
he works with more than one, he won´t get the page he expects, but the page 
where he has been with the other browser-window. So this could not be "the" 
solution as well.
Using the mapping.getInput() doesn´t work either as 1. I hava a dynamic input 
value and 2. it might be that a ForwardAction has been used, so the 
getInput() is null.

I can´t believe that this is such an uncommon problem. Could someone please 
help me out and point me to a place where to find a solution?

Thank you very much

Thomas

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

Reply via email to