login.jsp
<body>
<html:form action="/login" method="post" focus="username" οnsubmit="return validateLoginForm(this)">
<table border="0">
<tr>
<td>Username:</td>
<td><html:text property="username" /><html:errors property="username"/></td>
</tr>
<tr>
<td>Password:</td>
<td><html:password property="password" /></td>
</tr>
<tr>
<td colspan="2" align="center"><html:submit /></td>
</tr>
</table>
</html: