struts form中用数组接收
<tr>
<td class="x2" background="images/bg.gif">
预计
</td>
<td class="x2">
<html:text property="plan1" size="9"></html:text>
</td>
<td class="x2">
<html:text property="plan2" size="9"></html:text>
</td>
<td class="x2">
<html:text property="plan3" size="9"></html:text>
</td>
<td class="x2">
<html:text property="plan4" size="9"></html:text>
</td>
<td class="x2">
<html:text property="plan5" size="9"></html:text>
</td>
<td class="x2">
<html:text property="plan6" size="9"></html:text>
</td>
<td class="x2">
<html:text property="plan7" size="9"></html:text>
</td>
</tr>
<tr>
<td class="x2" background="images/bg.gif">
实际
</td>
<td class="x2">
<html:text property="fact1" size="9"></html:text>
</td>
<td class="x2">
<html:text property="fact2" size="9"></html:text>
</td>
<td class="x2">
<html:text property="fact3" size="9"></html:text>
</td>
<td class="x2">
<html:text property="fact4" size="9"></html:text>
</td>
<td class="x2">
<html:text property="fact5" size="9"></html:text>
</td>
<td class="x2">
<html:text property="fact6" size="9"></html:text>
</td>
<td class="x2">
<html:text property="fact7" size="9"></html:text>
</td>
</tr>
可不可以在Form中定义一个数组来接收<html:text>plan1-7 的数据,以便后台遍历,而不一个一个GET.fact1-7也一样
希望给个例子!
...全文
相关推荐
Struts提供的和Form相关的标签 .rar
在Struts中,表单(Form)是用户交互的核心,而Struts提供了丰富的标签库来帮助开发者更方便地创建和处理表单。下面将详细解释Struts中与Form相关的标签及其用法。1.
Struts 1.XX <html:file>的使用
`<html:file>`是Struts提供的一个标签,主要用于处理用户在HTML表单中上传文件的功能。
struts标签(如<html:form>)
关于STRUTS标签的一些详细说明。如:<html:form>的说明。
struts form 表单 用法
:</label> <html:text property="inputField" id="inputField" /> <html:submit value="提交" /></html:form>`
Struts常见的Form(一)
"/> <html:form property="address"> <html:text property="address.street"/> <html:text property="address.city


Web 开发
