Re: Bookmarking functionality in struts

2007-10-16 Thread Viplav Kallepu
Thanks for the reply Jim I was trying to do whatever you said.. taking ur idea when session expires what I did was I redirected to login page passing request.getServletPath(); parameter as redirect param. But problem I had was every thing in application has to go through the login action class whic

Re: Bookmarking functionality in struts

2007-10-15 Thread Laurie Harper
You could also consider using container managed security, which handles this use case transparently, or one of a number of existing authentication frameworks (e.g. Spring Security) which can also take care of it. Basically, the exact solution depends on your requirements, particularly with re

Re: Bookmarking functionality in struts

2007-10-15 Thread Jim Cushing
It's been a while since I've used Struts 1.x, but back in the day, I did implement this type of functionality. Basically, the app would redirect to the login action, with the destination what the user tried to access) as an encoded parameter in the URL. Something like "/ login.do?destination

Bookmarking functionality in struts

2007-10-15 Thread Viplav Kallepu
Hi all, I am using struts 1.3.8. I was trying bookmarking functionality out of curiosity.(User will bookmark a page then if he clicks that link he should be informed to login which is the entry point into application and then he should be forwarded to the page he bookmarked) . I wish to do it even