Home > Back-end >  Run in eclipse project files and console the mistakes to do, beg god for help, the novice
Run in eclipse project files and console the mistakes to do, beg god for help, the novice

Time:10-05

Serious: Servlet service () for the Servlet/JSP in context with the path [/wlxxpt2] threw the exception in [[43] line processing [news. JSP] an exception occurs when the

40: String queryName=request. The getParameter (" queryName ");
41: String SQL="select * from news".
42:
43: PreparedStatement PSTMT=conn. PrepareStatement (SQL);
44: the ResultSet rs=PSTMT executeQuery ();
45:
46: while (rs. Next ()) {

CodePudding user response:

You connect to the database code posted doubt is the problem that you connect to the database
  • Related