type Exception report
message java.sql.SQLException: No operations allowed after statement closed.
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.sql.SQLException: No operations allowed after statement closed. web.Search.doGet(Search.java:171) javax.servlet.http.HttpServlet.service(HttpServlet.java:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause
java.sql.SQLException: No operations allowed after statement closed. com.mysql.jdbc.Statement.checkClosed(Statement.java:270) com.mysql.jdbc.Statement.executeQuery(Statement.java:737) web.QueryDetail.<init>(QueryDetail.java:25) web.Search.doGet(Search.java:150) javax.servlet.http.HttpServlet.service(HttpServlet.java:624) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.76 logs.