安装了STRUTS后TOMCAT报错

sunlights 2008-11-25 04:51:29
环境是tomcat5.59 + jdk-1-5-0-06 + struts-1.3.8-all
我在官方网站上下载的struts-1.3.8-all解压缩后得到了apps docs lib src这几个文件夹,按网上的说法把apps下struts-blank-1.3.8.war等8个WAR文件COPY到tomcat\webapps下,
重启tomcat
访问http://localhost:8085/struts-examples/index.jsp
出现 the request resource(/struts-examples/index.jsp)is not available错误

而且*.war也已经自动解压缩了,后来我点tomcat\bin\tomcat5.exe
居然发现了tomcat异常,屏幕上显示
2008-11-25 16:34:58 org.apache.struts.config.impl.MouleConfigImpl addFormBeanConfig
警告:Overriding ActiongForm of name localeForm
.
.
.
.
2008-11-25 16:35:01 org.apache.myfaces.webapp.webxml.WebXmlParser readServlet
警告:Ignored element 'init-param' as child of 'servlet'.
2008-11-25 16:35:01 org.apache.myfaces.webapp.webxml.WebXmlParser readServlet
警告:Ignored element 'init-param' as child of 'servlet'.
.
.
.
2008-11-25 16:35:11 org.apache.struts.config.impl.MouleConfigImpl addFormBeanConfig
警告:Overriding ActionConfig of path/Welcome
2008-11-25 16:35:11 org.apache.struts.util.PropertyMessageResources loadLocale
警告: Resource org/apache/struts/action/ActionResources_zh.preperties NOT Found.

...全文
68 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
ganglong99 2008-11-25
  • 打赏
  • 举报
回复
*.war也已经自动解压缩
你重启tomcat,访问*.war解压后那么目录。若为struts-blank-1.3.8.war,则访问:
http://localhost:8085/struts-blank-1.3.8/
耶律火柴 2008-11-25
  • 打赏
  • 举报
回复
好像是说 项目根目录下没有index.jsp

<!-- The Usual Welcome File List -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>

应该是你在这里指定了,却没有index.jsp

81,095

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧