日期:2014-05-20  浏览次数:20653 次

怎么使用HTML原始标签替代struts自带标签???
<%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
<form:form action="register.do">
UserName:<form:text property="username"/><br>
enter password:<form:password property="password1"/><br>
re-enter password:<form:password property="password2"/><br>
<form:submit value="Register"/>
</form:form>

如果我不想用struts自带标签,用HTML原始标签这段应该怎么写?

求各位指教

------解决方案--------------------
HTML code

<form action="register.do">
UserName:<input type="text" name="username" /><br>
enter password:<input type="password" name="password1" /><br>
re-enter password:<input type="password" name="password2" /><br>
<input type="submit" value="Register" />
</form>

------解决方案--------------------
探讨
HTML code


<form action="register.do">
UserName:<input type="text" name="username" /><br>
enter password:<input type="password" name="password1" /><br>
re-enter password:<input type="password" ……

------解决方案--------------------
当然框在body标签之间。

探讨
是写在body下吗?