Strust2 

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

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

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

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

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

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

 

strust2入门(一)

第三种方式是常用方式。

 

 

相关文章:

  • 2021-09-17
  • 2021-07-27
  • 2021-05-15
  • 2021-09-17
  • 2022-12-23
  • 2021-06-03
  • 2021-11-21
  • 2021-10-20
猜你喜欢
  • 2021-05-11
  • 2021-12-19
  • 2021-07-11
  • 2021-08-06
  • 2021-12-30
  • 2021-10-18
  • 2021-04-22
相关资源
相似解决方案