applicationContext.xml 有特殊字符传值

<bean id = "helloworld" class="com.huoxin.bean1.HelloWorld">

<constructor-arg type="String">

<value><![CDATA[shanghai^]]></value>

</constructor-arg>

</bean>

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念