paras.xml文件<?xml version="1.0" encoding="UTF-8"?><beans xmlns="Http://www.springframework.org/schema/be
paras.xml文件
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="Http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd"> <bean id="SysParam" class="com.wisoft.tysfrz.utils.SysParam"> <!--行政区划代码前台显示默认值--> <property name="zoneCode" value="36"></property> <!--二代证读卡器读取照片存储位置--> <property name="sfzpicpath" value="d:\\"></property> <!--保存身份证照片相对路径--> <property name="photoRealPath" value="r/project/imgs/photo/"></property> </bean></beans>
--结束END--
本文标题: 读取xml文件中的配置参数实例
本文链接: https://lsjlt.com/news/222645.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0