you need to put it into tomcat's webapps or other jsp container 
for struts is used only on web

解决方案 »

  1.   

    404:您请求的页面不存在!
    可能是WEB服务没有启动成功,或你用的URL不对
      

  2.   

    应该是配置问题,没有人知道吗?
    tomcat下移过来的啊
      

  3.   

    我已经把startWeblogic.sh和setEnv.sh的classpath设置了还是没有用
    CLASSPATH="${WEBLOGIC_CLASSPATH}${CLASSPATHSEP}${POINTBASE_CLASSPATH}${CLASSPATHSEP}${JAVA_HOME}/jre/lib/rt.jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.jar${CLASSPATH}${WL_HOME}/server/lib/commons-logging.jar${WL_HOME}/server/lib/commons-collections.jar${WL_HOME}/server/lib/commons-digester.jar${WL_HOME}/server/lib/commons-fileupload.jar${WL_HOME}/server/lib/commons-lang.jar${WL_HOME}/server/lib/commons-beanutils.jar${WL_HOME}/server/lib/commons-validator.jar${WL_HOME}/server/lib/jakarta-oro.jar${WL_HOME}/server/lib/struts.jar"
      

  4.   

    这种问题实在懒得回答,楼主这么激动酒说说把:
    war放在webapps目录下
    启动tomcat
    浏览器输入http://localhost:port/struts-example先检查下http://localhost:port有没有tomcat的那个小猫页面
    确保tomcat正常启动
      

  5.   

    you need to put it into tomcat's webapps or other jsp container 
    for struts is used only on web
    虽然英语偶也不怎么好,但是这里提示应该看得明白啊
    叫你把项目部署到webapps里去呀
      

  6.   

    struts-example.war 直接拷贝到\webapps\目录下,(tomcat不需要任何配置!!)
    删除你解压进去的\webapps\struts-example文件夹(真是要命,你解压干什么),
    启动tomcat,访问http:\\127.0.0.1:8080\struts-example(tomcat默认端口是8080)