Home  >  Article  >  Web Front-end  >  我的jsp程序运行不了啊!!_html/css_WEB-ITnose

我的jsp程序运行不了啊!!_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:20:101138browse

JSP Eclipse Tomcat


我是用eclipse编写的jsp程序,但是就是执行不了,还有这样的提示,我的tomcat也没有问题,自己弄了好久还是不行,就帮助啊1!!!

回复讨论(解决方案)

a是目录?a下面有没有index.jsp?

1.检查发布的文根【a】是否正确,如果是部署的,跟工程名字一样。
2.检查web.xml里配置的欢迎页面  welcom-list里有哪些页面【访问文根(a)时,tomcat会按照顺序找这里的文件】
3.检查对应的页面是否存在
4.直接通过 a/index.jsp试试。

可以按2楼得试下

可以按3楼说的试一下

可以按2楼得试下

a是目录?a下面有没有index.jsp?
有啊  但是我也不知道为什么这里没有显示??

404错误是路径错误,检查写你的路径

谢谢各位了   我的问题已经自己解决了!!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn