No tag "datetimepicker" defined in tag library imported with prefix "s"解决办法
2011-04-06 20:50
621 查看
今天使用Struts-2.2.1 中Struts标签的时候出现下面错误
No tag "datetimepicker" defined in tag library imported with prefix "s"
这个错误主要是由于原因:
struts2.1.6 把struts2.0中的和ajax相关的,如datetimepicker,tree,treenode 都移动到了dojo中了
解决方法如下:
1.jsp中加入如下内容
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
2.<head>中加入下列
<head>
<s:head />
<sx:head />
</head>
3.页面中使用
<sx:datetimepicker name="birthday" label="生日:" displayFormat="yyyy-MM-dd"></sx:datetimepicker>
4.项目中引入struts2-dojo-plugin-2.2.1.1.jar 放在/web-inf/lib下。
本文出自 “幽灵柯南的技术blog” 博客,请务必保留此出处http://enetq.blog.51cto.com/479739/536790
No tag "datetimepicker" defined in tag library imported with prefix "s"
这个错误主要是由于原因:
struts2.1.6 把struts2.0中的和ajax相关的,如datetimepicker,tree,treenode 都移动到了dojo中了
解决方法如下:
1.jsp中加入如下内容
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
2.<head>中加入下列
<head>
<s:head />
<sx:head />
</head>
3.页面中使用
<sx:datetimepicker name="birthday" label="生日:" displayFormat="yyyy-MM-dd"></sx:datetimepicker>
4.项目中引入struts2-dojo-plugin-2.2.1.1.jar 放在/web-inf/lib下。
本文出自 “幽灵柯南的技术blog” 博客,请务必保留此出处http://enetq.blog.51cto.com/479739/536790
相关文章推荐
- No tag "datetimepicker" defined in tag library imported with prefix "s"解决
- No tag "datetimepicker" defined in tag library imported with prefix "s"解决
- s:datepicker No tag "datetimepicker" defined in tag library imported with prefix "s
- No tag "datetimepicker" defined in tag library imported with prefix "s"
- No tag "datetimepicker" defined in tag library imported with prefix "s"
- No tag "datetimepicker" defined in tag library imported with prefix "s"
- No tag "datetimepicker" defined in tag library imported with prefix "s"
- struts2 No tag "datetimepicker" defined in tag library imported with prefix "s"
- No tag "form" defined in tag library imported with prefix "s"
- /index.jsp(27,4) No tag "" defined in tag library imported with prefix "s"
- No tag " " defined in tag library imported with prefix="s"
- JSP编写过程用到Tag文件时遇到的报错记录No tag "" defined in tag library imported withprefix ...
- No tag "" defined in tag library imported with prefix "s"
- No tag "datetimepicker" defined 解决方法
- No tag "datetimepicker" defined 解决方法
- No tag "datetimepicker" defined 解决方法
- struts2.1.6 No tag "datetimepicker" defined解决方法
- Keil编译出现“Error: L6406W: No space in execution regions with .ANY selector match Section"的解决办法
- Keil编译出现“Error: L6406W: No space in execution regions with .ANY selector match Section"的解决办法
- java出现no XXX in java.library.path的解决办法