spring mvc 和 Struts 2

JAVA学习网 2018-01-30 20:29:02

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

                                                                                                                                                                                                              --个人理解                                                                            

阅读(732) 评论(0)