Hi ,
This is the first time i m developing a
jsp page that will implement login functionality.
The database : Oracle XE.
Application Server : Apache 5.5.29
JDBC driver path=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/jdbc/lib/ojdbc14.jar
Here is what i want to achieve.
There should be a Login page asking user about username and password.
After user click on submit username and password should get authenticated against oracle xe database .
If the credentials are correct then he should be redirected to Proper page (i.e.FirstPage.jsp) .
If the credentials are not correct then he should be given a message to reenter the credentials .
IMP: If user directly accesses the url by bypassing the login page i.e(FirstPage.jsp). He should be redirected to login page.
What kind of changes required at Application server end to incorporate the database connectivity.
Any help regarding how should i go about it is highly appreciated.