Hello, How can I do a login form in jsp using oc4j server. (oracle jdeveloper).
Assume I have this page.
<HTML>
<HEAD>
<TITLE>Login into the Employee Records Center</TITLE>
</HEAD>
<BODY>
<H1><CENTER>Login into the Employee Records Center</CENTER></H1>
<FORM NAME="LoginForm" ACTION="index.jsp"
METHOD="post" ENCODE="application/x-www-form-urlencoded">
<P>To login to the Employee Records Center, submit a valid
userid and password to access the Sample database installed under IBM DB2.</P>
<TABLE>
<TR VALIGN=TOP ALIGN=LEFT>
<TD><B><I>Userid:</I></B></TD>
<TD><INPUT TYPE="text" NAME="USERID" VALUE="userid"><BR></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD><B><I>Password:</I></B></TD>
<TD><INPUT TYPE="password" NAME="PASSWD" VALUE="password"></TD>
</TR>
</TABLE>
<INPUT TYPE="submit" NAME="Submit" VALUE="LOGIN">
</FORM>
<HR>
</BODY>
</HTML>
How can I modify this code, to check if a password exists in a table i created. and how can i create that table.