看看你Spring的配置文件的路径对不?如果不是路径问题,那你在web.xml再加上下面的代码试试
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath*:applicationContext-*.xml<!-- 此处根据自己的配置文件路径改-->
</param-value>
</context-param> <servlet>
<servlet-name>SpringContextServlet</servlet-name>
<servlet-class>
org.springframework.web.context.ContextLoaderServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>如果还不行的话,留下你QQ,我给你传个SSH整合的资料!

解决方案 »

  1.   

    在struts-config.xml里用了
    <controller processorClass="org.springframework.web.struts.DelegatingRequestProcessor" /> 
    那么,
    <action path="/collection" name="CollectionForm" 
    type="com.shaccp.jade_bird_collection.struts.action.CollectionAction" 
    parameter="operation" scope="request"> 
    这段里面的type属性应该是不起作用了,写不写都一样,因为管理的工作都交给spring了,struts不管了.
    你的spring配置文件里面应该有段,
    <bean name="/collection" class="com.shaccp.jade_bird_collection.struts.action.CollectionAction"></bean>以上是我的看法,我也不知道对不对,偶也是新手,呵呵.
      

  2.   

    楼主已经包含了
    <controller
    processorClass="org.springframework.web.struts.DelegatingRequestProcessor" />
    <message-resources
    parameter="com.shaccp.jade_bird_collection.struts.ApplicationResources" />
    <plug-in
    className="org.springframework.web.struts.ContextLoaderPlugIn">
    <set-property property="contextConfigLocation"
    value="/WEB-INF/applicationContext-*.xml" />
    </plug-in> 去掉type="com.shaccp.jade_bird_collection.struts.action.CollectionAction" ,改在spring配置文件里配置
      

  3.   

    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
    <bean name="/collection"
    class="com.shaccp.jade_bird_collection.struts.action.CollectionAction">
    <property name="fbiz">
    <ref bean="iFavoriteBIZ" />
    </property>
    <property name="tbiz">
    <ref bean="iTagBIZ" />
    </property>
    </bean>
    </beans>这个是spring管理的action
      

  4.   

    你应该把控制台的信息贴出来。或者是tomcat的
    日志都行。
    就这点信息,神仙也救不了你呀!