The Struts dispatcher&…
来源:互联网 发布:欧莱雅小黑瓶 知乎 编辑:程序博客网 时间:2024/04/28 10:19
异常信息:The Struts dispatcher cannot be found.
环境:tomcat5.5.0
<?xml version="1.0"encoding="UTF-8"?>
<web-app version="2.4"
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
</web-app>
<!DOCTYPE struts PUBLIC "-//Apache SoftwareFoundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
</struts>
<%@ page language="java" contentType="text/html;charset=UTF-8"
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>SayHello</title>
</head>
<body>
</body>
</html>
异常分析:以上的配置及文件中,如果采用 http://ip:port/SayHello.jsp,那么会出现前面所提到的异常。如果采用http://ip:port/SayHello.action进行访问,那么正常。
解决方案:
- The Struts dispatcher&…
- The Furthest Distance&…
- The string &quot…
- Lesson 25 Do the&…
- Only the original&nbsp…
- Only the original&nbsp…
- Error: The system&nbsp…
- How to Reset the&…
- 严重: Dispatcher initialization …
- storm-Understanding the&nbs…
- the network adapter&nb…
- 2013-3-09《Improve the&nbsp…
- the user operation&nbs…
- 帝国神鹰Aces of the&nb…
- 帝国神鹰Aces of the&nb…
- 帝国神鹰Aces of the&nb…
- 转发: The builder&nbs…
- The analysis before&nb…
- 从jquery的$(document).ready(func…
- 缓存应用--Memcached分布式缓存简…
- jQuery.validator.addMethod实例
- Java验证码
- CKeditor 配置使用
- The Struts dispatcher&…
- struts2 文件上传乱码问题
- Struts2文件上传实例
- ckeditor用fckeditor的文件管理器…
- 实现网页视频的功能(第1章)!
- java伪静态
- struts2上传文件,限制文件类型(后…
- Struts2下多文件的上传与下载
- 修改maven3项目的默认的编译级别(compile level)