易截截图软件、单文件、免安装、纯绿色、仅160KB

jsp页面的<c:forEach>出错,急。。。

在SERVLET中
request.getSession().setAttribute("DWList", list);
在JSP页面
<%@ page contentType="text/html; charset=GBK" language="java"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %>
...
<c:forEach items="${DWList}" var="DWList">    //105行
<tr>
<td id="aaa" align="center" height="30px">${DWList.DWcode} </td>
<td id="aaa" align="center">${DWList.DWname} </td>
<td id="aaa" align="center">${DWList.temp} </td>
<td id="aaa" align="center">${DWList.DWdz} </td>
</tr>
</c:forEach>
用的是JSTL1.1  tstl.jar  standard.jar两个包也都已经导入。
运行后报错:
严重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /DWJsp.jsp(105,11) According to TLD or attribute directive in tag file, attribute items does not accept any expressions
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
at org.apache.jasper.compil


相关问答:

菜鸟求解:c图形问题

#include <stdio.h>
#include <graphics.h>
void main()
{
  int x0,y0,x1,y1,driver,mode,i;
  driver=VGA;
  mode=VGAHI;
  initgraph(&driver,&mode,&qu ......

c/c++每条指令和函数的执行时间是多少?

想知道每条指令或函数的系统消耗。比如系统执行int a=0;的开销是多少。有没有类似的文档之类的。不要和我说用什么clock()函数来测试。我想要相关总结好的文档
先反汇编,然后拿着cpu的指令手册查每条指令的时间周期 ......

c# 有没有用于C/S的 html文本编辑器

c# 有没有用于C/S的 html文本编辑器

就像web界面的文本内容编辑器


up

C/S还要编译器干嘛啊
又不用控制样式
貌似没有吧  如果有了通知下我  我也要liujintaohfbb@163.com我的邮箱 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号