jQuery in Action, 3rd edition
The moose likes Struts and the fly likes Dispatcher Servlet vs. Dispatcher Filter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dispatcher Servlet vs. Dispatcher Filter" Watch "Dispatcher Servlet vs. Dispatcher Filter" New topic

Dispatcher Servlet vs. Dispatcher Filter

Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 502

What are the differences between dispatcher servlet (Struts1) and dispatcher filter (Struts2) ?
Why does Struts2 use filter instead of servlet like Struts1? Because Struts2 uses interceptor filters so a dispatcher filter can be easily chained with the interceptors?

PM Me If You Want to get Urgent Help on Java Programming
Yogesh Lonkar
Ranch Hand

Joined: Jul 17, 2012
Posts: 94

This link might help

Learning some thing New Every Day
I agree. Here's the link: http://aspose.com/file-tools
subject: Dispatcher Servlet vs. Dispatcher Filter
It's not a secret anymore!