1。建立一个maven项目,添加一个web.xml文件

maven整合web项目(struts2)


2.添加插件

maven整合web项目(struts2)


3.添加struts2的依赖

4,创建struts.xml

5.  创建Action类

6.   在web.xml中配置核心过滤器

7 启动:run as tomcat:runs


相关文章:

  • 2019-01-17
  • 2018-08-17
  • 2021-08-01
  • 2021-08-31
  • 2021-04-07
  • 2021-09-18
  • 2021-05-17
  • 2021-10-02
猜你喜欢
  • 2021-06-20
  • 2021-10-12
  • 2021-08-30
  • 2021-06-19
  • 2021-11-19
  • 2021-06-06
  • 2021-10-02
相关资源
相似解决方案