读书人

初学STRUTS运行不出来解决方案

发布时间: 2012-01-10 21:26:50 作者: rapoo

初学STRUTS,运行不出来
从APARCH网上下了struts-1.3.5,解压后把apps里的WAR文件放到了TOMCAT下的WEBAPPS目录下,启动TOMCAT后,我已看到这些WAR文件已被自动生成文件夹,
然后打开浏览器,
在地址栏中输入:http://localhost:8080/Struts-example/index.jsp。
就出现
HTTP Status 404 - /Struts-example/index.jsp

--------------------------------------------

type Status report

message /Struts-example/index.jsp

description The requested resource (/Struts-example/index.jsp) is not available.


--------------------------------------------
不知错在哪里,请各位帮忙


[解决办法]
struts-examples

http://localhost:8080/struts-examples/index.jsp

我记得我的1.2.9里面的例子是这样的 注意大小写看看

读书人网 >Java Web开发

热点推荐