JSP Login Example

Hi,Does anybody have an example I can work off of? I am trying to create a user login page and have the user names and passwords stored into a MYSQL database.Thanks,Joe
[196 byte] By [JoeZ430a] at [2007-11-26 16:44:52]
# 1
This page should point you in the right direction: http://jsptut.com/Loginforms.jsp
Djaunla at 2007-7-8 23:12:10 > top of Java-index,Java Essentials,New To Java...
# 2
Thanks for the fast response! Is it secure to let the server handle the login? Do you have anymore example links? Sorry I am very new to java. I am guessing I would need to store the username and password in an XML file.Thanks,Joe
JoeZ430a at 2007-7-8 23:12:10 > top of Java-index,Java Essentials,New To Java...
# 3

To be honest I don't know too much about this topic either, so I can't really give you much technical help. However, here is a link to the relevant part of the JSP tutorial from the Sun site: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security5.html

Also, you shouldn't need to store the usernames and passwords in an XML file. I'm not sure exactly how to work this; the tutorial page I linked to has many helpful links that can probably explain this better than I can.

Djaunla at 2007-7-8 23:12:10 > top of Java-index,Java Essentials,New To Java...
# 4
Thank you very much for your help.
JoeZ430a at 2007-7-8 23:12:10 > top of Java-index,Java Essentials,New To Java...