tomcat不能打开当前项目
来源:百度知道 编辑:UC知道 时间:2024/09/25 00:41:13
没有设置欢迎页吧。默认是index.jsp,index.html,index.htm等等吧。
你的项目里有没有index.*存在?
如果没有,你试着把hello.jsp改成index.jsp,再试下
http://localhost:8080/firstWeb
错误贴出来。我想应该是你的servlet没有在加载,看web.xml里面配好了么
UC知道是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度知道 编辑:UC知道 时间:2024/09/25 00:41:13
没有设置欢迎页吧。默认是index.jsp,index.html,index.htm等等吧。
你的项目里有没有index.*存在?
如果没有,你试着把hello.jsp改成index.jsp,再试下
http://localhost:8080/firstWeb
错误贴出来。我想应该是你的servlet没有在加载,看web.xml里面配好了么