No tag datetimepicker defined in tag library imported with prefix s解决
生活随笔
收集整理的這篇文章主要介紹了
No tag datetimepicker defined in tag library imported with prefix s解决
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
今天在學習Struts2標簽中的datetimepicker出現這樣一個exception:
No?tag?"datetimepicker"?defined?in?tag?library?imported?with?prefix?"s"
原因:struts2.3.8 把struts2中的和ajax相關的,如datetimepicker,tree,treenode都移動到了dojo中了
解決方法:
1.將struts2-dojo-plugin-2.3.8.jar拷貝到/web-inf/lib下
2.jsp頁面文件加入"<%@taglib prefix="sx" uri="/struts-dojo-tags"%>"
3.在使用<s:datetimepicker>前添加<sx:head/>
4.<s:datetimepicker>換成<sx:datetimepicker>
轉載于:https://www.cnblogs.com/tgxblue/archive/2013/05/18/4217346.html
總結
以上是生活随笔為你收集整理的No tag datetimepicker defined in tag library imported with prefix s解决的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 安装设置Android Studio W
- 下一篇: python学习笔记:遍历目录