Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Filter

 
Amruth Puppala
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Filter init(), destroy() will be called for each request or only once in its life?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The javadocs for Filter.init answer this question.
 
Amruth Puppala
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks , I got it now..

So Filter init(), destroy() methods and servlet's init(), destroy() will called similar manner.

I'm I right..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic