This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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

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: 498

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
GeeCON Prague 2014
subject: Dispatcher Servlet vs. Dispatcher Filter