so just build a new html or jsp page and make the forward point to that page ? Like you mapped the forward to the protected page just change the forward=/protected.jsp to forward=/unprotected.jsp.
Or what did you mean ?
What i mean is
if you request a protected page, you automaticily goto the login page, when possitive logged in, you automaticily goto the requested page, i wish to overide this and goto the index page of the protected area and not to the requested page.
thx in advance
Why do you have to login before you access the protected area?
If you still want to do so, why not make the unprotected protected?
Ok I can see some special cases when you want to do it in the way
you describe. Make a small protected page with a redirect in the HTML
to the unprotected.
The problem is when someone enters a protected URL, you goto login, after that you goto the protected page, but the ActionForm and the Session is not initialized with the data i want.