• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create Session

 
Raja ji
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to all,

I want to ask that how many tecniques to a session on JSP PAGE.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65118
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't create sessions. They are created on your behalf by the servlet container.
 
ashish kanchan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Bear Bibeault
why i don't create session on jsp
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65118
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I repeat: they are created on your behalf by the servlet container.
 
Yogendra Joshi
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic