• Post Reply Bookmark Topic Watch Topic
  • New Topic

Do Something Only For The First Invocation Of The Servlet

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What to do if I want to do something only for the first invocation of the servlet? Do I code it within the init() method?
 
Stanley Tan
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!