jsp转发action的问题找不到acton

-----------------------------jsp转发action的问题找不到acton-------------------------------------------

jsp: <jsp:forward page="index.action"></jsp:forward>

stturs.xml:

 <filter>  

   <filter-name>struts2</filter-name>  

   <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>

  </filter>   <filter-mapping>    

<filter-name>struts2</filter-name>    

<url-pattern>/*</url-pattern>    

    <!--属于服务器内部forward,不会被拦截器拦截,所以你需要为filter配置拦 ,如果需要转发手动写上  -->     <dispatcher>REQUEST</dispatcher>      <dispatcher>FORWARD</dispatcher>  

</filter-mapping>

原文地址:https://www.cnblogs.com/qgc88/p/3196668.html