会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
落后就要挨打
博客园
首页
新随笔
联系
管理
订阅
2018年4月6日
springmvc<一>一种资源返回多种形式【ContentNegotiatingViewResolver】
摘要: restful服务中一个重要的特性就是一种资源可以有多种表现形式,在springmvc中可以使用ContentNegotiatingViewResolver这个视图解析器来实现这种方式。 描述资源的三种形式 一、使用扩展名 http://localhost:8080/test/user.xml 以x
阅读全文
posted @ 2018-04-06 07:22 yixiu868
阅读(255)
评论(0)
推荐(0)
编辑
公告