Use Filters. On every page a User visits make it visit a Filter.
Record the page when it is visited and store it in the DB. That what when he logs in fetch this value and send User to this page. Make sure you put your Filter Info in web.xml in the following manner: <filter> <filter-name>myFilter</filter-name> <filter-class>complete.path.to.Filter</filter-class> </filter> <filter-mapping> <filter-name> myFilter </filter-name> <url-pattern>*.do</url-pattern> </filter-mapping> Just Remember Writing Filters is trivial. Chetan -----Original Message----- From: Balwinder [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 2:56 PM To: Struts Users Mailing List Subject: Last Page Regenration Hi All !! I have a situation in my application, i want to implement a functionality that does, if a user accidentally close his browser window, on his next request(in new window) to the application he should be displayed with the last page he visited this should happen after login(authentication). I want this to implement without cookies. Any help would be highly appreciated. Thanks and Regards, Balwinder Kumar --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]