Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 21st, 2005, 11:30 AM
Registered User
 
Join Date: Feb 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default jsp login page

Hi
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.

Login.htm
<html>
<head>
<title>login</title>

</head>

<body>

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

</body>
</html>


Reply With Quote
  #2 (permalink)  
Old March 1st, 2005, 07:02 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: colombo, WP, Sri Lanka.
Posts: 481
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

hi,
find this link
http://www.google.com/search?hl=en&l...va+server+page

surendran
(Anything is Possible)
Reply With Quote
  #3 (permalink)  
Old March 30th, 2005, 07:43 AM
Friend of Wrox
 
Join Date: Jul 2004
Location: , , India.
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
Default

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



Gokulan Ethiraj
Reply With Quote
  #4 (permalink)  
Old March 31st, 2005, 12:29 AM
Registered User
 
Join Date: Mar 2005
Location: NOIDA, UP, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

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

Bye

Reply With Quote
  #5 (permalink)  
Old April 12th, 2005, 11:45 PM
Registered User
 
Join Date: Apr 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to dendi
Default

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:59 PM.


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