首页 > 在Springmvc中jsp总是打开报错

在Springmvc中jsp总是打开报错

严重: Servlet.service() for servlet [spring] in context with path [/iacp] threw exception [An exception occurred processing JSP page /views/Admin/Student/student-index.jsp at line 67

64: </thead>
65: <tbody>
66: <%
67: for (iacp_student one : p.getList()) {
68: %>
69:


不要再jsp页面写java代码 不是有jstl标签吗。


这个是你java代码的错误,你检查下

for (iacp_student one : p.getList()) {

另外iacp_student java里面类不建议这种命名方式

【热门文章】
【热门文章】