Struts2使用标签库找不到URI:[struts-tags]的taglib[s]问题解决

Terwer Struts2评论349字数 285阅读0分57秒阅读模式

找到 struts2-core​ 的 jar​ 包,将其复制到无关文件夹中,当作压缩文件解压,在其中的 META-INF​​ 目录中找到 struts-tags.tld​​ 文件,将其复制到项目中 webapp/WEB-INF​​ 目录下,然后在 web.xml​​ 文件中 (之前) 添加以下内容:文章源自浅海拾贝-https://blog.terwergreen.com/struts2-can-not-find-uri-strutstags-taglib-s-problem-solving-z1gd2lw.html

<!--配置/struts-tag位置-->
<jsp-config>
    <taglib>
        <taglib-uri>s</taglib-uri>
        <taglib-location>/WEB-INF/struts-tags.tld</taglib-location>
    </taglib>
</jsp-config>
文章源自浅海拾贝-https://blog.terwergreen.com/struts2-can-not-find-uri-strutstags-taglib-s-problem-solving-z1gd2lw.html
相关文章
历史上的今天
10月
30
  • 扫码加我微信
  • 验证消息请输入:来自你的博客
  • weinxin
  • 我的微信公众号
  • 微信扫一扫与我交流吧
  • weinxin
Terwer
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: