struts2 基于过滤器filter, 由filter寻找类,然后再找方法,spring mvc 是基于servlet, 把每个方法通过注解注册在spring中, 通过servlet直接找到方法。 --个人理解