strust2入门(一)

xiaoxiao2021-03-01  38

Strust2 

1.用户在浏览器里面输入请求的url,

2.由tomcat接受到该http请求并确定相应的WebApplication是哪一个

3.访问该WebApplication的web.xml过滤所有请求我们是通过/*来完成的

4.根据用户输入的URL去匹配和对应strust.xml

5.查找相同名称和对应的namespace和action的name

6.通过result来确定显示视图为helloStrsuts.jsp

 

第三种方式是常用方式。

 

 

转载请注明原文地址: https://www.6miu.com/read-4049993.html

最新回复(0)