This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
In struts2
Struts2 with Displaytag export option is not working
Displaytag Data Export Problem with Struts2
Struts2
Static content caching problem in Struts2