关于c:forEach迭代标签的问题
本人在项目中,用ssh架构,想做成分页的效果.
以前我在页面中是,这样取得数据的
<!--进行循环遍历数据-->
<!--进行循环遍历数据-->
<%
List<Users> lof = (List) request.getAttribute("lof");
for (Users o : lof) {
%>
<tr>
<td class="tb_sabookMain">
<div align="center"><%=o.getUsername()%></div>
</td>
<td class="tb_sabookMain">
<div align="center"><%=o.getPassword()%></div>
</td>
<td class="tb_sabookMain">
<div align="center"><%=o.getAddress()%></div>
</td>
<td class="tb_sabookMain">
<div align="center"><%=o.getEmail()%></div>
</td>
<td class="tb_sabookMain">
<a href="sysUsers.do?method=showAuthority&id=<%=o.getId()%">修该</a>
<a href="sysUsers.do?method=removeOperator&id=<%=o.getId()%>">删除</a>
</td>
</tr>
<%
}
%>
这样遍历数据的.没有问题.
现在我想用
<c:if test="${!empty pm.datas}">
<c:forEach items="${pm.datas}" var="
相关问答:
//C 接口
extern "C"
{
TESSDLL_API int __cdecl GetTessText(const char *imagefile, char *text);
}
//我在C#中声明
//调用C DLL 中的函数
[DllImport("OCRapi.dll&quo ......
C盘上多的文件名为:dosh , Recycled ,System Volum information, AUTOEXEC.BAT, BOOT.INT , bootfoot.bin, CONFIG.SYS,IO.SYS, MSDOS.SYS, DETECT.COM ,ntldr, pagefile.sys;
而且每个盘上都有这些文件:RECYCLER ......
写了个测试程序如下
struct hostent *hp;
char AlarmDevIP[20];
int x2;
hp = gethostbyname("www.google.com");
if (hp)
{
......
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<c:forEach items="${quaeres}" var="q">
......