Parameters lost on login form submitted with post in JBoss

Posted by Supowski on Stack Overflow See other posts from Stack Overflow or by Supowski
Published on 2010-05-13T09:32:00Z Indexed on 2010/05/13 9:34 UTC
Read the original article Hit count: 257

Filed under:
|
|
|

My login page contains two forms: one for logging in and one for signing up. Shorten like this:

<form name="LoginForm" id="LoginForm" method="post" action="j_security_check" >
<input type="text" name="j_username" />
<input type="text" name="j_password" />
<input type="submit" value="Sing In" />
<form>
<form name="SignUpForm" id="SignUpForm" method="post" action="/homepage" >
<input type="text" name="loginName" />
<input type="password" name="password1" />
<input type="password" name="password2" />
<input type="submit" value="Sing Up" />
<form>

I If 'Sing Up', than values of input are lost during processing and not passed into my Servlet. It works fine with GET, but than there is password in URL, so it's not the right solution :)

Similar problem has been posted to community.jboss.org, but with no response: http://community.jboss.org/message/7150#7150. I'm using JBoss 4.3eap.

Any help?

© Stack Overflow or respective owner

Related posts about jboss

Related posts about login