Hi good day,
May I know how to use the velocity FormTool..
publicclassUserForm extendsActionForm {
privateUser user;
publicUserForm(){
this.user=newUser();
}
publicUser getUser() {
returnuser;
}
publicvoidsetUser(User user) {
this.user= user;
}
…
In jsp:
<html:form action="/user">
<html:text property="user.username"/>
<html:text property="user.password"/>
<html:submit value="submit"/>
</html:form>
In velocity how?
<INPUT type="text" name="$form.bean.user.username"> doesn’t work!
Thanks…
