Stefano Tranquillini wrote:
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)
Nobody mentioned that the page from which any form is submitted is usually told to the server by the browser even without sticking it in a hidden field (which is more easily spoofed). The HTTP specification misspelled it as the "referer" field, and you can ask the request object for the value. http://en.wikipedia.org/wiki/HTTP_referrer
-Dale --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org