2012年8月22日

struts2 配置json格式数据( includeProperties中对list集合的正则配置)

摘要: 1、listAttachment.*\.realName 和listAttachment.* 效果一样,元素中所有的属性都json化了 <param name="includeProperties">listAttachment(返回的list名称).*</param>"listAttachment":[{"encodedRealName":"%E8%AE%A1%E5%88%92%E4%BB%BB%E5 %8A%A1%E4%B9%A6%E5%88%97%E8%A1 %A820111223102409. 阅读全文

posted @ 2012-08-22 13:18 lovebeauty 阅读(13177) 评论(2) 推荐(0) 编辑

导航