Hi there's a problem (i think is a problem). I used the tiles. so the login is in the left part of the page and is always available for the user (in each page there's the login). so i need to store each time the url in each page. how can i do that? i can do with a Intercepor that simply store in the session the current url, but: how can i forward to the right page after the login?is a good solution? how can i found the url of the previous page? anyway, login is an action so it wants a String as results of the executed, and the result is mapped inside the sturst.xml. How can i pass a url instead the SUCCESS or ERROR etc string?
2009/6/4 Paweł Wielgus <poulw...@gmail.com> > Hi Stefano, > add some kind of information about the page loging form is on, inside > the login form, then in login action resolve where to come back. It > can be also achieved by remebering the last request uri and params if > any. But there is no standard solution for this problem, as far as i > know. You can always face a scenario where user login without any > page, just by constructing a valid url. > > Best greetings, > Pawel Wielgus. > > 2009/6/4, Stefano Tranquillini <stefano.tranquill...@gmail.com>: > > Hi all. > > i want to do a thing. When a user do the login (i've the login in the > left > > part of the web site, so in each pages the user can do the login) i want > to > > redirect he at the pages that was visit before the login. > > how can i do that? (no JS) > > > > > > -- > > Stefano > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Stefano