This gives me error prone HTML code, because Spring automatically generates text type, how do I change this behaviour?
<td><sf:input type="password" path="password" size="20" maxlength="30" /><br />
<sf:errors path="password"cssClass="error" />
</td>
html code generated:
… name="password" **type="password" type="text"** value="" size="20" maxlength="30" …
Use the password tag
This tag renders an HTML ‘input’ tag with type ‘password’
For details
The password tag