日期:2014-05-18 浏览次数:20929 次
<logic:notEmpty name="accessories">
<table width="50%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#000000">
<tr>
<td bgcolor="#FFFFFF">
<table width="50%" border="0" align="left" cellspacing="0" id=tabfj name=tabfj>
<tr>
<td width="16%"> </td>
<td ><b>附件</b></td>
</tr>
<logic:iterate id="acc" name="accessories">
<tr id="tr">
<td align="center" width="100">文件名称
</td>
<td align="center">
<a href="<%=webmodule %><bean:write name="acc" property="relativePath"/><bean:write name="acc" property="name"/>">
<bean:write name="acc" property="name"/></a>
</td>
</tr>
</logic:iterate>
</table>
</td>
</tr>
</table>
</logic:notEmpty>
------解决方案--------------------
可以用servlet实现啊
将Content-Type设定成浏览器无法直接打开的类型