<html:form action="/login" method="post" focus="loginname" onsubmit="return validateLoginForm(this);">
<table border="0">
<tr>
<td>Login:</td>
<td><html:text property="loginname" /></td>
</tr>
<tr>
<td>Password:</td>
<td><html:password property="password" /></td>
</tr>
<tr>
<td><html:submit /></td>
<TD><html:reset /></TD>
像这样,用struts提供的标签写表单看看!
<table border="0">
<tr>
<td>Login:</td>
<td><html:text property="loginname" /></td>
</tr>
<tr>
<td>Password:</td>
<td><html:password property="password" /></td>
</tr>
<tr>
<td><html:submit /></td>
<TD><html:reset /></TD>
像这样,用struts提供的标签写表单看看!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货