scope="prototype" 不显示数据
- Java code
<bean id="pce_perceivedQualityAction" class="cn.qi.action.perceived.PerceivedQualityAction" scope="prototype">
我在spring配置文件中添加scope="prototype" 后,页面数据反而不显示了 ? 这是为什么 ??
[解决办法]
scope=prototype默认是单例,你是单列吗
[解决办法]
自己调试一下,看看有没有访问到这个Action,看看返回值有没有。。。