
XML
文章平均质量分 77
smst1987
这个作者很懒,什么都没留下…
展开
-
java发送xml post请求(2)
借助于org.apache.commons.httpclient对象 import java.io.BufferedInputStream; import java.io.ByteArrayOutputStream; import org.apache.commons.http原创 2011-09-01 10:28:04 · 2801 阅读 · 0 评论 -
applicationContext.xml读取properties中属性
项目有需要,所以查了些资料,在这里作为记录 参考地址:http://fionajw.iteye.com/blog/674981 载入方式一: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:转载 2011-11-16 16:41:12 · 3124 阅读 · 1 评论 -
Spring中加载xml配置文件的方式
项目需要使用载入多个xml,方便起见,转载一篇文章作为记录 转自:http://javapub.iteye.com/blog/751772 Spring中加载xml配置文件的方式,我总结的有6种, xml是最常见的spring 应用系统配置源。Spring中的几种容器都支持使用xml装配bean,包括: XmlBeanFactory,ClassPathXmlApplication转载 2011-11-18 17:33:37 · 1839 阅读 · 0 评论 -
JDOM解析XML
做web嘛,难免要和XML打交道。 java用来操作xml的库有蛮多,dom4j、jdom等等,因为公司给的项目导入的是jdom包,所以研究了下jdom的基本使用方法。 资料来源:http://lwl860116.iteye.com/blog/605810 xml解析就是要以节点名为定位获取里面的节点属性和节点值放入实体类中,获取属性值和节点值是最后目的。 1. 解析xml 1)原创 2011-08-05 09:29:43 · 1012 阅读 · 0 评论