将数据库中读出的一组数据显示到jsp页面的一行里代码怎么写?
org.apache.jasper.JasperException:AnexceptionoccurredprocessingJSPpage/iframe/detail....
org.apache.jasper.JasperException: An exception occurred processing JSP page /iframe/detail.jsp at line 100
97: </tr>
98: <tr>
99: <th> 宿舍成员:</th>
100: <%while(rs2.next()){ %><td><%=rs2.getString(1)%></td>
101: <%} %>
102: </tr>
103: <tr>
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 展开
97: </tr>
98: <tr>
99: <th> 宿舍成员:</th>
100: <%while(rs2.next()){ %><td><%=rs2.getString(1)%></td>
101: <%} %>
102: </tr>
103: <tr>
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询