/struts-tags not found ,/struts-dojo-tags not found 上线后异常解决方案
2013-08-22 10:16
429 查看
上线到2003上后发现2个问题:
1 缺少/struts-tags
2 缺少/struts-dojo-tags
在xp上不用直接指定这些文件的位置,但在其他的系统可能无法自动找到它的路径,一定要明确指定
在web.xml中配置:
<taglib>
<taglib-uri>/struts-tags</taglib-uri>
<taglib-location>/WEB-INF/struts-tags.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/struts-dojo-tags</taglib-uri>
<taglib-location>/WEB-INF/struts-dojo-tags.tld</taglib-location>
</taglib>
在struts的包的META-INF中把文件copy出来到/WEB-INF/下
做以上修改后,系统可正常使用。
1 缺少/struts-tags
2 缺少/struts-dojo-tags
在xp上不用直接指定这些文件的位置,但在其他的系统可能无法自动找到它的路径,一定要明确指定
在web.xml中配置:
<taglib>
<taglib-uri>/struts-tags</taglib-uri>
<taglib-location>/WEB-INF/struts-tags.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/struts-dojo-tags</taglib-uri>
<taglib-location>/WEB-INF/struts-dojo-tags.tld</taglib-location>
</taglib>
在struts的包的META-INF中把文件copy出来到/WEB-INF/下
做以上修改后,系统可正常使用。
相关文章推荐
- 有关struts2日历控件的小问题,struts-dojo-tags not found
- struts-dojo-tags datetimepicker标签无法正常显示问题 解决方案
- eclipse关于"/struts-tags" not found错误的最新解决方法
- struts2 jsp File "/struts-tags" not found
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)异常解决方案
- 异常:Message 850 not found; No message file for product=network, facility=NL解决方案
- 关于struts2+hibernate3.2中出现的java.lang.ClassCastException: java.lang.Integer异常的解决方案
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)异常解决方案
- File "/tags/struts-tiles" not found或java.lang.ClassNotFoundException: org.apache.struts.taglib.tile
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)新的异常解决方案
- struts-dojo-tags datetimepicker标签
- [Struts2异常]关于发生Struts配置异常:Unable to find parent packages struts-default.xml的解决方案
- struts的奇怪异常及其解决方案---missing resource 'received' in key method map
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)新的异常解决方案
- j2ee中,url直接进入jsp页面,提示File "/struts-tags" not found
- 新版Eclipse配置Servlet始终报404 Not Found与servlet Class Not Found 异常解决方案
- tomcat部署 struts2 File "/struts-tags" not found
- Cannot find bean org.apache.struts.taglib.html.BEAN in any scope异常解决方案
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. 异常
- struts2.1.8+hibernate2.5.6+spring3.0(ssh2三大框架)常见异常原因和解决方案(上)