Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dispatcher Servlet vs. Dispatcher Filter

 
Nam Ha Minh
Ranch Hand
Posts: 502
Eclipse IDE Firefox Browser Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Yogesh Lonkar
Ranch Hand
Posts: 94
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This link might help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic