This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Joined: Jan 20, 2001
String query="SELECT * FROM Administrator WHERE login=? AND password=?"; pstmt = con.prepareStatement(query); pstmt.setString(1,req.getParameter("loginname"));i++; pstmt.setString(2,req.getParameter("password"));i++; rst=pstmt.executeQuery();