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