20170330学习笔记-struts2配置文件属性
2017-03-30 13:42
417 查看
<bean id="planPassedStaAction" class="com.edufe.action.planPassedSta.PlanPassedStaAction"scope="prototype">
<property name="planPassedStaService">
<ref bean = "planPassedStaService"/>
</property>
</bean>
scope="prototype" 可以保证 当有请求的时候 都创建一个Action对象
<bean id="planPassedStaAction" class="com.edufe.action.planPassedSta.PlanPassedStaAction"scope="prototype">
<property name="planPassedStaService">
<ref bean = "planPassedStaService"/>
</property>
</bean>
scope="prototype" 可以保证 当有请求的时候 都创建一个Action对象
相关文章推荐
- cocos2d-x 3.0游戏实例学习笔记《卡牌塔防》第七步---英雄要升级&属性--解析csv配置文件
- Hibernate配置文件属性学习笔记
- Struts2 学习笔记——struts.xml文件之拦截器的配置
- struts2学习笔记--struts.xml配置文件详解
- Struts2学习笔记之与struts.xml配置和Action有关的属性
- struts2学习笔记--struts.xml配置文件详解
- struts2学习笔记 -- day02 struts2主配置文件详解
- Struts2 学习笔记——struts.xml文件之Bean的配置
- struts2 学习笔记(一)——配置文件
- 【学习笔记】Struts2之配置文件struts.xml
- [原创]java WEB学习笔记69:Struts2 学习之路-- 消息处理与国际化,概述,配置国际资源文件,访问国际化消息,通过超链接切换语言
- Struts2 学习笔记——struts.xml文件之Bean的配置
- [原创]java WEB学习笔记99:Spring学习---Spring Bean配置:自动装配,配置bean之间的关系(继承/依赖),bean的作用域(singleton,prototype,web环境作用域),使用外部属性文件
- Spring4学习笔记-Spring4整合Struts2(基于配置文件的方式)
- Struts2学习笔记01----初识struts2配置文件和相关基础知识
- cocos2d-x 3.0游戏实例学习笔记《卡牌塔防》第七步---英雄要升级&属性--解析csv配置文件
- Spring4学习笔记-Spring4整合Struts2(基于配置文件的方式)
- Struts2学习笔记之与struts.xml配置和Action有关的属性
- [原创]java WEB学习笔记80:Hibernate学习之路--- hibernate配置文件:JDBC 连接属性,C3P0 数据库连接池属性等
- nrf51822蓝牙学习笔记之GAP(通用属性配置文件)解读(二)