struts spring + hibernate整合问题
我的struts + spring + hiberante整合有问题,谁能帮我看看,我是这样整合的
struts-config.xml
<struts-config>
<data-sources />
<form-beans>
<form-bean name="loginForm"
type="com.chinamobile.struts.form.LoginForm" />
</form-beans>
<global-exceptions />
<global-forwards />
<action-mappings>
<action attribute="loginForm" input="/login.jsp"
name="loginForm" path="/login" scope="request"
type="org.springframework.web.struts.DelegatingActionProxy">
<forward name="success" path="/admin/index.jsp" />
<forward name="failure" path="/index.jsp"></forward>
</action>
</action-mappings>
<message-resources parameter="com.chinamobile.struts.ApplicationResources" />
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="/WEB-INF/beans.xml"/>
</plug-in>
</struts-config>
bena.xml
<bean name="/login" class="com.chinamobile.struts.action.LoginAction">
<property name="ioperator">
<ref bean="ioperatorimpl"/>
</property>
</bean>