<?xml version="1.0" encoding="UTF-8"?> //这行有错
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name> //这行也有错
lyTest</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>
关键是我还没写任何程序它就报错,请大家帮我看看是什么原因哪?谢谢.不知道是不是因为我昨天用的hibernate造成的呀!
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name> //这行也有错
lyTest</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>
关键是我还没写任何程序它就报错,请大家帮我看看是什么原因哪?谢谢.不知道是不是因为我昨天用的hibernate造成的呀!
解决方案 »
- 数据库连接成功,执行语句失败(配置win7+sqlserver2000+myeclipse8.5+tomcat6.0 )
- 百度贴吧右上角的 提示有回复 的功能是怎么实现的?
- jsp连接SQL Server 2000的配置
- 谁帮忙看看是什么问题 HTTP Status 500 -
- 这个500问题是错在哪儿?
- 网页滚动条的问题
- 新手急求援:页面过期
- 求教Java Mail API配置问题!急等!!问题解决立等送分!!!
- 关于SmartUpload上传的文件改名
- Help:java 关于操作oracle的clob类型(inster ,update,select)的完整例程,或都Bean.
- 菜鸟求助: 我写的一个登陆画面JSP 出错,错在哪里?
- Ajax问题急死了!
pageEncoding="gbk"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<title>Insert title here</title>
</head>
<body>
<%
out.println("HelloWorld From Eclipse!");
%>
</body>
</html>现在的错误是:
HTTP Status 404 - /TestTomcat/HW/HelloWorldFromEclipse.jsp--------------------------------------------------------------------------------type Status reportmessage /TestTomcat/HW/HelloWorldFromEclipse.jspdescription The requested resource (/TestTomcat/HW/HelloWorldFromEclipse.jsp) is not available.
--------------------------------------------------------------------------------Apache Tomcat/5.5.23