Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDBC authentication for JSP login page

843833Jul 6 2001 — edited Jul 10 2001
Below is a line I have in my JSP that will give me a "Sign In" button that when pressed will take me to the adminPage.jsp.
How is it that I could add authentication to this by checking the inputted username and password against the JDBC connection object username and password for the database? I want all the authentication to be done by the database if possible.

<td align="left" height="100" valign="left"><form name="Admin" action="adminPage.jsp">
<input type="button" value="Sign In" onClick="javascript:document.location.href='adminPage.jsp';"></form></td>

Thank you in advance for your help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 7 2001
Added on Jul 6 2001
18 comments
811 views