p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   JSP Basics (http://p2p.wrox.com/forumdisplay.php?f=92)
-   -   jsp login page (http://p2p.wrox.com/showthread.php?t=25847)

ronnie February 21st, 2005 11:30 AM

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>


surendran March 1st, 2005 07:02 AM

find this link

(Anything is Possible)

gokul_blr March 30th, 2005 07:43 AM

You can search for online sample codes and tutorials thru www.google.com

Gokulan Ethiraj

artidatanova March 31st, 2005 12:29 AM


  convert html page into Jsp,by using save the file as .jsp.And for vaildation use the javascript function.


dendi April 12th, 2005 11:45 PM

hi.. plese follow this link http://www.codetoad.com/java_jsp_id_verification.asp
but i think the codes need a little tweakss

hope it helps

All times are GMT -4. The time now is 06:01 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.