Struts2使用标签库找不到URI:[struts-tags]的taglib[s]问题解决
找到 struts2-core
的 jar
包,将其复制到无关文件夹中,当作压缩文件解压,在其中的 META-INF
目录中找到 struts-tags.tld
文件,将其复制到项目中 webapp/WEB-INF
目录下,然后在 web.xml
文件中 (之前) 添加以下内容:
<!--配置/struts-tag位置-->
<jsp-config>
<taglib>
<taglib-uri>s</taglib-uri>
<taglib-location>/WEB-INF/struts-tags.tld</taglib-location>
</taglib>
</jsp-config>
1
2
3
4
5
6
7
2
3
4
5
6
7
编辑 (opens new window)
上次更新: 2023/02/22, 13:47:25
- 01
- 解决css部分border被圆角切掉之后圆角的边框消失问题03-18
- 02
- 使用TypeScript开发一个自定义的Node-js前端开发脚手架03-08
- 03
- Github-Actions使用release-please实现自动发版03-06