datasource « Bean « JSP-Servlet Q&A





3. Using datasource for login bean & login page?    coderanch.com

I happened to see this code from one of the books "Making use of JSP", and is sort of what I need for the login bean for my java page: import java.io.*; import java.sql.*; public class BankAccount { private String sAccountID=" "; private String sPin=" "; private boolean AccountValidate; Connection connect = null; Statement state = null; ResultSet result = null; ...