Thread: jsp login page
View Single Post
  #1 (permalink)  
Old February 21st, 2005, 11:30 AM
ronnie ronnie is offline
Registered User
Join Date: Feb 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default jsp login page

I am new to jsp so please bear with me. I am trying to implement a simple login page by using jsp. The username and password are stored in a table called login in a mysql database(called project). I have a simple html page called login.htm which calls the jsp page called validate.jsp, but I need help to write the jsp code. Any help would be appreciated, thanks in advance.




    <form action="validate.jsp" method="post">
    <table cellspacing="4" border="0">
            <td align="right">User name:</td>
            <td><input type="text" name="userName"></td>
            <td align="right">Password:</td>
            <td><input type="password" name="password"></td>
            <td><br><input type="submit" value="Submit"></td>