• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why using Filter in Struts2

 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
reply
    Bookmark Topic Watch Topic
  • New Topic