Eclipse Struts Errors集锦
来源:互联网 发布:程序运行立刻执行的js 编辑:程序博客网 时间:2024/06/05 08:44
1. Unknown element <taglib>
在部署web应用程序时,在web.xml文件中加入<tablib>标签报错:Unknown element <taglib> 报错的原因是:对于2.4的web-app,taglib标签的放置位置已经发生改变,要放在<jsp-config>标签下 <jsp-config> <taglib> <taglib-uri>/WEB-INF/tld/struts-layout.tld</taglib-uri> <taglib-location>/WEB-INF/tld/struts-layout.tld</taglib-location> </taglib></jsp-config> (from: http://tag.csdn.net/Article/7acbb523-805e-4e5c-b985-e4429962add7.html )
2. <html:errors/> 标签不显示错误信息
解决方案: http://topic.csdn.net/t/20050712/13/4139079.html 我的弄了半天,不知道为什么又好了,反正这个贴子挺不错.
3.
type Status report
message No input attribute for mapping path /login
description The server encountered an internal error (No input attribute for mapping path /login) that prevented it from fulfilling this request.
解决方案:在struts-config.xml里面设置表单验证的相关属性:
<action-mappings>
<action path="/login" type="classmate.LoginAction" name="formBean1" scope="request" validate="true" input="/error.jsp" />
<action path="/regist" forward="/regist.jsp"/>
</action-mappings>
4.
HTTP Status 404 - Servlet actionServlet is not available
type Status report
message Servlet action is not available
description The requested resource (Servlet action is not available) is not available.
- Eclipse Struts Errors集锦
- struts <hrml :errors>用法
- struts <html:errors>
- Eclipse问题集锦:errors running builder 'Android Pre Compiler' on project'项目名称':java.lang.NullPointerExce
- java-j2ee-eclipse +struts + hibernate + tomcat 问题集锦(一)
- struts中的errors.header与errors.footer
- Struts html:errors 中文乱码
- Myeclipse中struts errors 使用
- Eclipse build errors
- Struts问题集锦1
- struts技巧集锦
- Struts开发问题集锦
- 【struts】html:errors标签的使用
- Referenced file contains errors(struts-2.0.dtd)
- Eclipse + Struts
- struts+eclipse
- Common Struts Errors and Causes--Struts常见错误
- struts和Extjs问题集锦
- OS Roadmap
- C#中实现GBK码与Unicode码的转换及拼音简码的生成
- 阶码、移码、反码、源码、补码、余三码、循环码等各种码的概念
- IDispatch接口是什么?
- IE地址栏的秘密
- Eclipse Struts Errors集锦
- 弹出式窗口详解
- fileupload
- 梦, 让我遗忘!(1)
- 用javascript来判断浏览器是否禁止了弹出窗口,并在网页中以友好的方式来提示网站浏览者
- 我的 CSDN BLOG 突破1000了。
- response.addHeader("Content-Disposition","attachment; filename="+filename)中的中文乱码问题
- 项目经理应如何调动员工的积极性
- Visual C#的菜单编程