aspose file tools*
The moose likes Struts and the fly likes Why using Filter in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Why using Filter in Struts2" Watch "Why using Filter in Struts2" New topic
Author

Why using Filter in Struts2

Khushwinder Chahal
Ranch Hand

Joined: Oct 03, 2007
Posts: 128
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
Khushwinder Chahal
Ranch Hand

Joined: Oct 03, 2007
Posts: 128
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why using Filter in Struts2