Hi Scott,
I tried this trick :
<form action='j_security_check' method='POST'>
| <%request.setAttribute("javax.servlet.forward.request_uri",
"/test-login/secured/index.jsp");%>
| <%request.setAttribute("javax.servlet.forward.context_path",
"/test-login");%>
| <%request.setAttribute("javax.servlet.forward.servlet_path",
"/secured/index.jsp");%>
| u : <input type="text" name="j_username" size="40"></br>
| p : <input type="text" name="j_password" size="40"></br>
| <input type="submit" value="Login">
| </form>
in the login.jsp page (defined as the form-login-page).
Logon process is sucessful but the request attributes I override are not used
and I am still landing on the requested secured page instead of the secured
welcome page.
Am I missing something ?
Thanks,
ionel
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868036#3868036
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868036
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user