Hi Thiru,
Welcome to JavaRanch, the absolute best site on the www for Java information. We don't have many rules around here, but we do have one. Please change your display name to a first and last name to comply with the
JavaRanch Naming Policy. You can change it
here. Thank you for your cooperation.
Why in the world would you want to create a HttpSession object outside a web container? But if you really want to do it, just create a class that implements HttpSession.
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher