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:if test="${not empty dataValue}">
fm.SAMPLING_DATE.value=" <c:out value='${dataValue.SAMPLING_DATE}'/ ......
QQȺ 29152388
ÓÑÇéUP
°ï¶¥
up
°ïup
up Ö§³Ö£¡
up jf
...ÄѵÀÓзÖ..?
up up up
Ï£ÍûÓеüӷ֣¬¹þ¹þ¡£
Ö§³Ö£¬ÎÒ¼ÓÁË£¬Ï£ÍûÂ¥Ö÷ÄܼÓÎÒ£¬¹²Í¬Ñ§Ï°¹þ
¼ÓÁË¡£
¶¥ÉÏ£¬Ã¿ÌìÊÕ»ñÒ»µã£¬Ö§³Ö ......
#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++¡¢STL¡¢VC++¡¢MFC¡¢COM¡¢ATL¡¢WindowsÍøÂç±à³Ì¡¢Êý¾Ý¿â±à³Ì¡¢WindowsÇý¶¯±à³Ì¡¢Èí¼þ¹¤³Ì¡¢Windows²Ù×÷ϵͳ±à³Ì£¬µÈµÈ·½Ãæ¡£
ÏÂÔصØÖ·£ºhttp://www.cctry.com/forumdisplay.php?fid=46
......