Why Struts2 Uses a Filter to Replace ActionServlet
Alec Lee
Ranch Hand
Joined: Jan 28, 2004
Posts: 568
posted
0
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