"Mr Ambati, i think you are wrong. request.getSession() creates a new session , irrespective of there is already a session or not.

but request.getSession(false) will not create a session if there is a session object already in the container. if there is no session object in the container , now it wiil create a session object.

Please verify your answer?" - This is the post sent by you. check ur comments once..you told that request.getSession() will create session object irrespective of session present or not. In my code i used request.getSession() in both the servlets. but it didnt create new session object for second servlet after execution of first servlet.

If u dont understand this never try to think of JAVA