aspose file tools
The moose likes Struts and the fly likes Why Struts2 Uses a Filter to Replace ActionServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Why Struts2 Uses a Filter to Replace ActionServlet" Watch "Why Struts2 Uses a Filter to Replace ActionServlet" New topic
Author

Why Struts2 Uses a Filter to Replace ActionServlet

Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 568
In Struts 1 the front controller is a servlet (the ActionServlet). But why in Struts 2 it is replaced by a filter (FilterDispatcher)? What are the benefits in doing so?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Why Struts2 Uses a Filter to Replace ActionServlet
 
Similar Threads
Struts Survival Guide - JDBC and DAO
how to override action servlet in struts
Difference between Servlet and JSP Interview question
Struts Preprocessor
overriding ActionServlet in struts