This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why using Filter in Struts2

 
Khushwinder Chahal
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Good People,

In struts2 they have replace action servlet with filter dispatcher.
I want to know the reason. Why they have preferred it over servlet?
What are the reasons?
I found on net but could not find any satisfied answer.

Any body has any idea please share with me.

Regards,
Khushwinder
 
Khushwinder Chahal
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Khushwinder Chahal wrote:Hi Good People,

In struts2 they have replace action servlet with filter dispatcher.
I want to know the reason. Why they have preferred it over servlet?
What are the reasons?
I found on net but could not find any satisfied answer.

Any body has any idea please share with me.


why dispatcher has been changed from a servlet to a servlet filter in Struts2? Anybody knows answer?

Regards,
Khushwinder
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic