Question concerning login.jsp

Cantor, Scott cantor.2 at osu.edu
Fri Apr 26 11:22:07 EDT 2013


On 4/26/13 11:06 AM, "Brewer, Edward L" <lee.brewer at Vanderbilt.Edu> wrote:
>
>Actually the login-mobile.jsp does have the correct bits.  To prove that
>to myself, I replaced login-mobile.jsp with login.jsp (minus the
>javascript that checks for screen size that we added).  Tested and get
>similar error...  Now I see the cookies but it still fails with no errors
>listed.  

The problem is your redirect, that's not compatible with the code. The
actionUrl attribute thingy is set internally in the servlet when it
forwards to login.jsp. That's not a redirect, it's a forward. Your
redirect doesn't cause it to get set, so it tries to post back to
j_security_check.

You might make it work by just hardwiring the action location to post back
to the servlet.

-- Scott




More information about the users mailing list