aspose file tools
The moose likes JSP and the fly likes How to create Session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to create Session" Watch "How to create Session" New topic
Author

How to create Session

Raja ji
Greenhorn

Joined: Dec 19, 2005
Posts: 16
Hi to all,

I want to ask that how many tecniques to a session on JSP PAGE.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63046
    
  69

You don't create sessions. They are created on your behalf by the servlet container.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
ashish kanchan
Greenhorn

Joined: Apr 06, 2006
Posts: 7
Hello Bear Bibeault
why i don't create session on jsp
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63046
    
  69

I repeat: they are created on your behalf by the servlet container.
Yogendra Joshi
Ranch Hand

Joined: Apr 04, 2006
Posts: 213
Hey friends.. I agree that the session is created by the servlet container itself.. However , If at any point , If you want to track session then you need to use HttpSession interface.. Here's the link which will help you..

http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSession.html

Cheers..


Meri Zindagi Hain Tab Tak.. Jab Tak Tera Sahara.... Har Taraf Tu Hi Tu Hain SAI Tera Hi Hain Nazara.....
 
Don't get me started about those stupid light bulbs.
 
subject: How to create Session
 
It's not a secret anymore!