启动后报如下错误怎么办:
HTTPステータス 404 - --------------------------------------------------------------------------------type ステータスレポートメッセージ 説明 The requested resource () is not available.
--------------------------------------------------------------------------------Apache Tomcat/6.0.35

解决方案 »

  1.   

    The requested resource (/testStruts2/index/page/hello.jsp) is not available
      

  2.   

    web.xml<?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
    <display-name>testStruts2</display-name> <filter>
    <filter-name>struts2</filter-name>
    <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
    </filter> <filter-mapping>
    <filter-name>struts2</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    </web-app>
      

  3.   

    最近打击日货,游行很严重,你tomcat抗议呢