This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
In default.jsp page i'm taking the username and password and those values passing to login.jsp.
In login.jsp i'm taking those values from default.jsp and checking those values in userDatabase ie by defaulty maintained by tomcat for users(tomcat-users.xml). while i'm checking(username and password) in that userdatabase i'm getting some errors 1.org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class ' ' for connect URL 'null'
2. If you're maintaining users in tomcat-users.xml, why are you trying to access the database ? If you want to use a database to authenticate users, check Tomcat's FAQ here : http://faq.javaranch.com/view?TomcatFaq