Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Login Validation

Status
Not open for further replies.

Vem786

Technical User
Dec 2, 2003
52
US
Hi All:
I'm new to JSP & I'd like to know some guidelines to accomplish my requirement.

I have a Login Page typically a Username & Password Text fields. I have a set of users, who are supposed to be validated to access the application upon successful login.

Can anyone tell me how to accomplish this?


Also I am supposedly to use WebLogic Server. Can anyone shed light on what variables or Path I need to set?

Thanks in advance.
 
You need to do the following :

- Retrieve the user/passwd.
- Use JDBC to connect to your database (assuming you have one), and execute some SQL to determine whether the person can login or not.
- Forweard the page to a "no you cannot log in" or "success" page.

 
Thanks sedj!!!

Also any idea about Weblogic App Server requirements that I need to bother about.??

Like what settings I need to do before I run a JSP page.

 
Application servers generally only require vendor-specific tweaking when you start playing with EJB and stuff. If you are just using Servlets and JSP, then this should conform to the Servlet API closely, and require no further tweaks - but check your documentation if stuff doesn't seem to work !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top