struts常见问题1:HTTP Status 404 - Servlet action is not available
来源:互联网 发布:图像分割 分水岭算法 编辑:程序博客网 时间:2024/05/19 09:04
在部署Struts时,出现如下错误信息:
HTTP Status 404 - Servlet action is not available
type Status report
message Servlet action is not available
description The requested resource (Servlet action is not available) is not available.
问题原因:
1.、web.xml文件中未配置ActionServlet。
2、struts-config.xml文件未配置你要访问的Action。
3、你的jsp文件form标记中action属性的路径名称错误。
4、非以上三种情况。
针对以上4种情况相应的解决方案如下:
1、在web.xml文件中加上ActionServlet的配置信息
2、在struts-config.xml文件检查你要访问的Action配置文件。
3、检查jsp文件form标记中action属性的路径名称是否与struts-config.xml文件中action标记的path属性的路径名称一致。
4、非以上情况的解决办法就是检查web容器的log日志,如果时tomcat则检查下logs目录下的localhost_log文件,看里边是否记录有错误信息,然后根据错误信息提示将其纠正。
- struts常见问题1:HTTP Status 404 - Servlet action is not available
- Struts:HTTP Status 404 - Servlet action is not available
- 在部署Struts时,出现如下错误信息:HTTP Status 404 - Servlet action is not available
- HTTP Status 404 - Servlet action is not available
- HTTP Status 404 - Servlet action is not available
- HTTP Status 404 - Servlet action is not available
- HTTP Status 404 - Servlet action is not available 解决方法[转]
- HTTP Status 404 - Servlet action is not available
- HTTP Status 404 - Servlet action is not available
- struts hibernate spring 环境配置时出现 HTTP Status 404 Servlet action is not available (解决方法)
- HTTP-404:Servlet action is not available
- 烦人的错误HTTP Status 404 - Servlet action is not available
- HTTP Status 404 - Servlet testServlet is not available
- HTTP-404:Servlet action is not available错误解决
- Servlet action is not available(Struts+Spring+Hibernate)
- 用Spring集成Struts时老出Servlet action is not available
- Servlet action is not available
- Servlet action is not available
- java起步篇(1)
- 赢在中国
- English Note 2008/06/27
- Facebook 海量数据处理
- 如何成为下一个盖茨:解析成功七要素
- struts常见问题1:HTTP Status 404 - Servlet action is not available
- 疯狂的程序员61
- SQL操作全集
- 实习初感
- 参数NLS_LENGTH_SEMANTICS的设置问题
- 安装 GCC 编译器
- 类的序列化
- udp 网络应用程序
- 处理表重复记录(查询和删除)