struts2中怎样延迟加载问题
----
在框架开发中,我该怎样解决延迟加载问题呢。。
lazy=“true” 也没有用,,
设置过滤器也没有用,到底该怎么办呢??
我使用事物的,下面是我的代码,大家看看,到底哪儿有错啊,,求大家帮我解决》》》》》
applicationContext.xml里面的部分代码
<bean id="loginDao" class="com.accp.ssh.web.dao.impl.LoginImpl">
<property name="sessionFactory" ref="sessionFactory"></property>
</bean>
<bean id="loginService" class="com.accp.ssh.web.service.impl.LoginServiceImpl">
<property name="ILogin" ref="txabstrace"></property>
</bean>
<bean id="toLoginAction" class="com.accp.ssh.web.action.toLoginAction">
<property name="loginServiceImpl" ref="loginService"></property>
</bean>
<!-- spring 所提供的切面对象-->
<bean id="transationactionManger" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="sessionFactory" ref="sessionFactory"></property>
</bean>
<!-- spring所提供的代理对象 设置为共有对象-->
<bean name="txabstrace" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"
>
<!-- 目标对象 -->
<property name="target" ref="loginDao"></property>
<!-- 切面对象 -->
<property name="transactionManager" ref="transationactionManger"/>
<!-- 事物属性配置 -->
<property name="transactionAttributes">
<props>
<prop key="find*">PROPAGATION_REQUIRED</prop>
<prop key="*">PROPAGATION_REQUIRED,readOnly</prop>
</props>
</property>
</bean>
这样配置以后,我的页面都出不来了,报404错误啊,,
这是怎么回事哇??????