Struts2_HelloWorld_7_1

大致了解应用的运行过程:

由请求路径开始,浏览器端通过URL向tomcat发送http请求(如:http://localhost:8080/Struts2_0100_Introduction/hello.action);

tomcat 寻找指定的 web application,在这里是 Struts2_0100_Introduction;

再找到 web application 的web.xml配置文件;

struts2在其中配置了StrutsPrepareAndExecuteFilter,就找到这个fiter。

原文地址:https://www.cnblogs.com/ShawnYang/p/6669886.html