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>

你可能感兴趣的:(action)