Monday, November 23, 2009

JSP login - No nonsense code (NNC)

Hello again,

New code this time.

USE :

Login and Logout pages.Almost used everywhere on the net now ! Registration is done directly via SQL commands.But hey,this code gives you the basics you need to write into and retrieve from the database.Just a change in the SQL command will do.

SQL DDL command for creating the table :

CREATE TABLE "USERDETAILS"
( "USERNAME" VARCHAR2(30),
"PASSWORD" VARCHAR2(30)
)

Used languages :

This code uses HTML,JavaScript,JSP and AJAX.

Requirements :

1.Netbeans ( if ya wanna edit it )
2.Glassfish server
3.Oracle DB ( I used this.You can use DB server.After all,the SQL's
the same ! jus configure your JDBC make your DB server the default)
4.Any browser

Misc :

The code is free to share !

Pls mail me if you face any problems or if you have any enhanced version of it.

Comments welcome.

LINK :

http://www.4shared.com/file/157928620/e019b0ce/jsp_login.html

Happy coding again :)



Contributors

Followers