org.apache.jasper.JasperException: 这是个什么错误!!!
Action类代码!这个List绝对有值。
public String queryQuestion(){
try{
String wheres = request.getParameter("wheres"); //类型
String whereName = request.getParameter("whereName"); //条件
List<Tbquestion> list = question.queryTbquestion(wheres, whereName,getMeetingAll());
request.setAttribute("listQues", list);
}catch(Exception ex){
ex.printStackTrace();
}
return SUCCESS;
}
<action name="questionAction" class="questionAction">
<result name="success">/jsppages/visit/question/index.jsp</result>
</action>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="paging" uri="/WEB-INF/userTag/paging-tag.tld"%>
<%
String path = request.getContextPath();
pageContext.setAttribute("path",path);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
下面只贴重要部分:
<c:forEach items="${listQues}" var="questionList" varStatus="indexNum">
<tr onclick="clickInfo('${questionList.qid}','<%=path %>/platform/questionAction!queryTbquestionById.action');" id="tr${indexNum.index}">
<td><input type="checkbox" name="cheAll" id="${questionList.qid}"/></td>
<td>${questionList.title}</td>
<td>${questionList.clientname}</td>
<td>${questionList.newtime}</td>
<td>${questionList.status}</td>
<td>
<a href="#"> 变更</a>-
<a href="#"> 编辑</a>
</td>
</tr>
</c:forEach>
<c:if test="${null != listQues}">
<c:forEach items="${listQues}" var="questionList" varStatus="indexNum">
<tr onclick="clickInfo('${questionList.qid}','<%=path %>/platform/questionAction!queryTbquestionById.action');" id="tr${indexNum.index}">
<td><input type="checkbox" name="cheAll" id="${questionList.qid}"/></td>
<td>${questionList.title}</td>
<td>${questionList.clientname}</td>
<td>${questionList.newtime}</td>
<td>${questionList.status}</td>
<td>
<a href="#"> 变更</a>-
<a href="#"> 编辑</a>
</td>
</tr>
</c:forEach>
</c:if>