1.环境配置

1).进入http://struts.apache.org/download.cgi#struts23241 下载 struts官方源码

2).解压,进入apps/struts2-blank/WEB-INF/lib/  拷贝安装包

3).加入struts.xml配置文件

4).找到配置文件关联文档,(为了让strtus.xml里面有提示)

Window-->Prefrence-->XML-->XMLCatalog-->add

Location-->struts-2.3.24.1/src/core/src/main/resources/struts-2.3.dtd

Key type-->URL

key-->http://struts.apache.org/dtds/struts-2.3.dtd

2.HelloWorld

相关文章:

  • 2022-12-23
  • 2021-09-24
  • 2021-11-22
  • 2021-08-04
  • 2021-10-15
  • 2021-11-24
  • 2021-06-15
猜你喜欢
  • 2021-11-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
  • 2021-12-03
  • 2022-02-01
相关资源
相似解决方案