Q1) What is the Servlet API used to connect to database?
Q2)We have a web page that is invokuing servlets username and psssword which it checks in the database.Suppose in the second page also we want to verify the same information whether it will connect to the database or it will use previous information?
posted 16 years ago
1. Servlets use the general Java API for database access, known as "JDBC". Why not check out the JDBC forum here at The Java Ranch for more information? 2. To pass information between servlets, or between invocations of the same servlet, use the "session". Look up Sessions in your Servlet reference books or web sites.