-
1. Re: j_security_check returning 400 error
tuishimi Apr 16, 2012 2:32 PM (in response to tuishimi)So I did more research... and the problem is that people should not go directly TO the login.jsp... but when you use a protected page and get redirected to this action/page, how can you PREVENT people from bookmarking it right then and there? That's what is happening... the login form comes up... people bookmark it. All I can think to do is to have a link saying "bookmark this page" and actually have it bookmark a protected action... what do you think?
-
2. Re: j_security_check returning 400 error
tuishimi Apr 16, 2012 2:43 PM (in response to tuishimi)Or... is there a way to mask the actual URL so that you can trick the browser? Ugh. This is a little frustrating as apparently a lot of our customers are bookmarking the login page and then when they attempt to use it, login fails.
-
3. Re: j_security_check returning 400 error
sfcoy Apr 29, 2012 12:17 AM (in response to tuishimi)You can try adding this to your web.xml:
{code:xml}
<error-page>
<error-code>400</error-code>
<location>/yourHomePageURL</location>
</error-page>{code}
It may ask the user to login again (the behaviour varies between app-server vendors).