Wrox Programmer Forums
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 21st, 2005, 11:30 AM
Registered User
Join Date: Feb 2005
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>


Old March 1st, 2005, 07:02 AM
Friend of Wrox
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran

find this link

(Anything is Possible)
Old March 30th, 2005, 07:43 AM
Friend of Wrox
Join Date: Jul 2004
Posts: 345
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to gokul_blr Send a message via Yahoo to gokul_blr

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

Gokulan Ethiraj
Old March 31st, 2005, 12:29 AM
Registered User
Join Date: Mar 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


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


Old April 12th, 2005, 11:45 PM
Registered User
Join Date: Apr 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to dendi

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! JSP Login yikchin JSP Basics 1 December 8th, 2005 02:35 AM
JSP and LOGIN cbolat JSP Basics 3 November 30th, 2005 04:11 AM
Newbie Help. Login to unique login page per user Kainan Classic ASP Professional 10 May 3rd, 2005 07:47 AM
jsp & mysql login code sos jaymak121 Java Databases 4 November 25th, 2004 06:50 AM
Help with jsp login page javaStudent JSP Basics 0 January 27th, 2004 06:08 PM

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