File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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:
subject: Dispatcher Servlet vs. Dispatcher Filter
It's not a secret anymore!