一.<HTML:>篇:
1.<html:form action="/login" method="post" focus="username">相当于HTML中的<form>,其中focus属性为初始化光标对应username这个表单元素
2.<html:text property="">相当于<input type="text" value="">.其中property属性表示:查找与form对应的formbean,并调用其对应的属性值来填充次标记内容.(<html:password>跟<html:text>一样)
3.<html:error property="">其中property属性表示只显示和property属性相关的错误信息.
4.<html:submit/>跟<html:cancel>都相当于<input type="submit" ...>
1.<html:form action="/login" method="post" focus="username">相当于HTML中的<form>,其中focus属性为初始化光标对应username这个表单元素
2.<html:text property="">相当于<input type="text" value="">.其中property属性表示:查找与form对应的formbean,并调用其对应的属性值来填充次标记内容.(<html:password>跟<html:text>一样)
3.<html:error property="">其中property属性表示只显示和property属性相关的错误信息.
4.<html:submit/>跟<html:cancel>都相当于<input type="submit" ...>