Immanuel

Wednesday, October 17, 2012

HTTP Session in JSP Servlet - Example

Hey Every one , As we know HTTP is a state less protocol so it is necessary to carry out session in the web application. If you were wondering  how your browser remember your session though the http is stateless, it is very simple.

I have attached the war file with source code . Import the war file to your eclipse.

Also I have attached the file "DB.sql" u can use it as the query log for setting up Database.

I have used the my sql as my back end database.

LINKS:

GitHub

War File

SQL FILE / QUERY LOG 

Inserted of this SQL file you can also use the following sql queries

CREATE DATABASE SESSION;
USE SESSION
CREATE TABLE LOGIN (USERNAME VARCHAR (30), PASSWORD VARCHAR (30));
INSERT INTO LOGIN VALUES("arun","immanuel");


Happy Hacking...



No comments:

Post a Comment

Twitter Bird Gadget