Hi,
Im working in struts project. In this when i select available URL in my browser, it automatically redirects to that page. Instead i need to redirect to login page. how can i do it?
Thanks,
Before your dispatching Servlet does anything at all it should check whether or
not a valid Session exists. If so, redirect to the wanted page because the user
is logged in. If not, the user is not yet logged in so redirect the user to the login
page. If the login succeeds, create a valid Session (and make it expire).
kind regards,
Jos