Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how can i check whether a session is new??  RSS feed

 
carl chan
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all:
If I want to ask my serlvet to do something every single time when the application first start, what should the code be??
thx
 
Sri Basavanahally
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Carl,
you should override the init() method of your servlet.
-Sri
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!