会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
1367356
博客园
首页
新随笔
联系
订阅
管理
2018年5月31日
spring 返回xml数据
摘要: 要将对象以xml数据形式返回:参考:https://blog.csdn.net/Pnoter/article/details/52218363 1:创建对象时应该填上xml注解,这样才能将对象转换为xml形式。 2:在对象属性上,添加xmlElement可以将属性解析为xml的子元素形式 例如: 对
阅读全文
posted @ 2018-05-31 22:10 1367356
阅读(1958)
评论(0)
推荐(0)
编辑
公告