struts2 零配置返回type=json出错
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/08/30 04:49:03
struts2 零配置返回type=json出错
@Action(value = "/image",results ={@Result(name="success",type="json",params = {"root","result" })})
tomcat启动解析@Action、、、时,type类型出错
错误:
The Result type [json] which is defined in the Result annotation on the class [class action.UploadAction] or determined by the file extension or is the default result type for the PackageConfig of the action,could not be found as a result-type defined for the Struts/XWork package [action#convention-default#] - [unknown location]
知道的就说吧
@Action(value = "/image",results ={@Result(name="success",type="json",params = {"root","result" })})
tomcat启动解析@Action、、、时,type类型出错
错误:
The Result type [json] which is defined in the Result annotation on the class [class action.UploadAction] or determined by the file extension or is the default result type for the PackageConfig of the action,could not be found as a result-type defined for the Struts/XWork package [action#convention-default#] - [unknown location]
知道的就说吧
您好,请问您是否扩展了 json-default 命名空间
struts2如何返回json和处理json
struts2 + json
JSON = JSON ||
Struts2中result-type的作用是?
spring配置sqlMapClient出错,
There is no result type defined for type 'json' mapped with
struts2的result的param配置,谁能给我大概解释下?
json是什么意思?
什么是JSON
json-lib解析json数据
struts2中method的用法?method=“{1}”是什么意思?
英语翻译------=_NextPart_4B30FA76_0941D758_3D53CFB9Content-Type: