struts-bean.tld,struts-html.tld,struts-logic.tld 请教 请教高手,这几个东西是干什么用的? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <body bgcolor="eaeaea" leftmargin="0" topmargin="0" class=linetop><table name="t_check" id="t_check" width="130" border="0" align="left" cellpadding="1" cellspacing="1" class="tab01"> <logic:iterate id="element" name="PortalActionForm" property="struList" scope="session" type="java.util.HashMap" > <logic:notEqual name="element" property="ID" value=""> <logic:notEqual name="element" property="TYPE" value="N"> <tr align="left" onMouseOver=this.style.backgroundColor='#D6E4FA' onMouseOut=this.style.backgroundColor='' > <td width="7" align="center" > <html:multibox property="statLeftBox"> <bean:write name="element" property="ID" /> </html:multibox> </td> <td align="left" > <bean:write name="element" property="NAME" /> </td> </tr> </logic:notEqual> </logic:notEqual> </logic:iterate> </table></body>各个参数都有什么用途啊?谢谢了 这些都是structs的标签,你看一下structs的书就明白了,挺简单的 都是struts的标签库,都有各自的用途,简化JSP开发难度具体用途看包名就知道了struts-html标签库。这个库可以被用来生成动态HTML用户界面和窗体。·struts-bean标签库。在将JavaBean代码放入JSP 页面时这个库提供实质性的加强的功能以改善其性能,它由标签提供。·struts-logic标签库。这个库可管理有条件的文本生成,在对象集合中循环以重复生成输出文本和应用程序流程管理。·struts-template标签库。在为具有相同的风格或格式生成动态JSP模板时,这个库所提供的标签会有很大的帮助。 建议LZ到http://www.solol.org/technologic/java/j-struts/#d3e77 看下写的比较全面的 是struts标签的TLD文件,用来配制STRUTS标签 jsp里面关于struts的提到,你可以封装自己的标签类,就像html的标签一样,你可以让它是嫌你自己像要的功能,定义方式就是.tld,可以写类来实现其中的功能,你的三个文件就是struts封装的标签,然后你的web.xml用来引入这三个标签库。要不怎么知道你是用struts呢 java怎样写数据到表格? 使用eclipse读取图像路径问题 学过JAVA一定要进来!!! 打印不同步问题,各位大大帮帮忙,小弟急求,在线等 有一个JTextField控件,限制输入格式为"2003/06",前四位是年份,中间是"/",后两位是月份!急,谢谢!!! 为什么 java.lang.OutOfMemoryError jbuilder6和eblogic7 怎样配置啊? javamail里面的中文问题(接收邮件,发送的时候都已经解决) 救急!!! 大神们进来交流一下如何快速的理解现有的代码 关于java中正则式的问题。急急 有关java内存的问题
<table name="t_check" id="t_check" width="130" border="0" align="left" cellpadding="1" cellspacing="1" class="tab01">
<logic:iterate id="element" name="PortalActionForm" property="struList" scope="session" type="java.util.HashMap" >
<logic:notEqual name="element" property="ID" value="">
<logic:notEqual name="element" property="TYPE" value="N">
<tr align="left" onMouseOver=this.style.backgroundColor='#D6E4FA' onMouseOut=this.style.backgroundColor='' >
<td width="7" align="center" > <html:multibox property="statLeftBox"> <bean:write name="element" property="ID" />
</html:multibox> </td>
<td align="left" > <bean:write name="element" property="NAME" /> </td>
</tr>
</logic:notEqual>
</logic:notEqual>
</logic:iterate>
</table>
</body>各个参数都有什么用途啊?谢谢了
具体用途看包名就知道了
struts-html标签库。这个库可以被用来生成动态HTML用户界面和窗体。·struts-bean标签库。在将JavaBean代码放入JSP 页面时这个库提供实质性的加强的功能以改善其性能,它由标签提供。·struts-logic标签库。这个库可管理有条件的文本生成,在对象集合中循环以重复生成输出文本和应用程序流程管理。·struts-template标签库。在为具有相同的风格或格式生成动态JSP模板时,这个库所提供的标签会有很大的帮助。