单项选择题
在处理器方法上使用()注解,可以返回结果作为JSON数据进行响应。
A.@RequestMapping
B.@ResponseMapping
C.@ResponseBody
D.@RequestBody
点击查看答案
相关考题
-
单项选择题
想使SpringMVC处理器返回JSON数据,可以添加()支持。
A.log4j
B.spring-web
C.jstl
D.fastjson -
单项选择题
通过SimpleMappingExceptionResolver的()属性配置异常类名与视图名的映射。
A.ExceptionAttribute
B.ExceptionMappings
C.exceptions
D.mappings -
单项选择题
可以通过()函数序列化表单内容为字符串,用于Ajax请求。
A.load()
B.get()
C.serialize()
D.post
