http://localhost:8080/hello/index.jsp,你试一试!是路径问题!
解决方案 »
- 推荐一个自带1.5jre的开源浏览器,精简后的jre只有3m,超精悍
- 谁有log4j.jar包?
- google、baidu上找不到的jdbc数据源连接sqlserver2005的错误
- 求一篇项目安装部署文档
- 关于spring+hibernate集成的问题
- EJB如何调用的问题?
- 【提问】一切正常,但tomcat5控制台出现怪提示消息
- 请问学习J2EE的步骤,怎样学比较快。
- java中有哪些类可以load xml和xsl,然后产生html
- jsf 报错 javax.faces.el.MethodNotFoundException
- 菜鸟发问
- 简单问题:hibernate3.1中支持有组合关键字的表吗?
http://localhost:8080/hello/index.jsp
在web.xml里面输入
<?xml version="1.0" encoding="UTF-8"?>
<web-app 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">
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
用这个试一下
那就是你的路径写错了
你可以在IE里输入你http://localhost:8080/hello/index.jsp,或者在tomcat根目录的conf/web.xml的里插入下面的代码:
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>