Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP  RSS feed

 
priya shankar
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I was asked this question in an interview....
1)What is the equivalent method to servlet init() method in JSP.
2)Is it possible to maintain Session in an Stateless Session bean using Session Tracking concepts...
can anyine answer this

thanks
priya
 
Amol Desai
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
1) It is jspInit()
2) Stateless Session bean cannot maintain session.
Session beans states are managed by the container.The container does not maintain session for stateless session bean.
-Amol
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!