<%@ 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>
------解决方案--------------------
------解决方案--------------------
当然框在body标签之间。