Login form to an a secured app in tomcat
- by patricio
I have a normal HTML page in a normal Apache http server (http://yyy.yyy.yyy.yyy/index.html ), with an authentication form, with that form I need to access with the credentials to an application located in other server with diferent IP , that server have a secured application with tomcat: here is the login form in the apache http server:
<form method="POST" id="theForm"
action="http://xxx.xxx.xxx.xxx:8080/securedapp/j_security_check">
<input name="j_username" type="text" class="tx_form" id="j_username" size="20" />
<input name="j_password" type="password" class="tx_form" id="textfield2" size="20" />
<input name="btn" type="submit" value="login" />
</form>
the submit only works random in chrome and dont work in IE and FF. im doing something wrong?