<div id="dia-fjxz" title="可选择下载">
<s:form id="form_fjxz" name="form_fjxz" method="post" action="downloadMultiFile">
<table width="90%" border="1" id="table_fjxz" class="backColor">
<tbody>
<tr>
<td width="10%" align="center"><input type="checkbox" name="all" id="all"/></td>
<td width="10%" align="center"><span class="STYLE4">序号</span></td>
<td width="40%" class="STYLE4" align="center">附件名称</td>
<td width="30%" class="STYLE4" align="center">附件大小</td>
</tr>
<s:iterator value="#request.zjjg.additions" var="addition" status="st6">
<tr>
<td width="10%" align="center">
<input type="checkbox" name="attachmentPath" id="attachmentPath" value="<s:property value="#addition.filepath"/>"/>
</td>
<td align='center' class="STYLE24"><s:property value="#st6.index+1" /></td>
<td align='center' class="STYLE24"><s:property value="#addition.name" /></td>
<td align='center' class="STYLE24"><s:property value="#addition.filesize" /></td>
</tr>
</s:iterator>
</tbody>
</table>
<s:if test="">
<input type=button value="下载 " id="button" style="width:50px;height:25px" />
</s:if>
<s:else>
<input type=submit value="下载 " id="submit" style="width:50px;height:25px" />
</s:else>
</s:form>
</div>
<s:form id="form_fjxz" name="form_fjxz" method="post" action="downloadMultiFile">
<table width="90%" border="1" id="table_fjxz" class="backColor">
<tbody>
<tr>
<td width="10%" align="center"><input type="checkbox" name="all" id="all"/></td>
<td width="10%" align="center"><span class="STYLE4">序号</span></td>
<td width="40%" class="STYLE4" align="center">附件名称</td>
<td width="30%" class="STYLE4" align="center">附件大小</td>
</tr>
<s:iterator value="#request.zjjg.additions" var="addition" status="st6">
<tr>
<td width="10%" align="center">
<input type="checkbox" name="attachmentPath" id="attachmentPath" value="<s:property value="#addition.filepath"/>"/>
</td>
<td align='center' class="STYLE24"><s:property value="#st6.index+1" /></td>
<td align='center' class="STYLE24"><s:property value="#addition.name" /></td>
<td align='center' class="STYLE24"><s:property value="#addition.filesize" /></td>
</tr>
</s:iterator>
</tbody>
</table>
<s:if test="">
<input type=button value="下载 " id="button" style="width:50px;height:25px" />
</s:if>
<s:else>
<input type=submit value="下载 " id="submit" style="width:50px;height:25px" />
</s:else>
</s:form>
</div>
解决方案 »
- Java web开发的程序员想转C程序员
- 关于jface 中菜单栏背景颜色设置的问题
- Strust配置文件详解!!!
- 求精通j2ee--eclipse、struts、hibernate及spring整合应用案例 随书光盘
- 急急急,请教解决个问题,请各位大哥大姐帮帮忙
- ibatis提交事务无效,但是无任何报错,代码执行成功
- 如何写xdoclet的@hibernate.标签,生成组合主键(<composite-id),这个问题已经困扰我两天了
- 请问能否用JDBC去检测表是否存在?
- 关于jboss3.0的oracleDS not bound错误!
- jndi.properties文件如何使用?
- excel2007解析的问题
- 请高人指点。
<input type=button value="下载 " id="button" style="width:50px;height:25px" />
</s:if>
<s:else>
<input type=submit value="下载 " id="submit" style="width:50px;height:25px" />
</s:else>
这段代码是可行的么 ? 如果可行的话 ,我想判断下迭代器里面的checkbox是否选定,这个test怎么写