本人用Spring集成Struts时老出Servlet action is not available错
找配置文件找了N久,没有找出错来。后面把
 <plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
   <set-property value="contextConfigLocation" property="/WEB-INF/applicationContext.xml"/>
  </plug-in>

这段代码给剪掉。在web.xml文件中加上
<context-param>
 <param-name>contextConfigLocation</param-name>
 <param-value>/WEB-INF/applicationContext.xml</param-value>
  </context-param>
  <servlet>
 <servlet-name>context</servlet-name>
 <servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>
 <load-on-startup>1</load-on-startup>
  </servlet>
就OK了!!