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 Re
来源:学生作业帮助网 编辑:作业帮 时间:2024/06/20 23:55:43
![struts2 零配置返回type=json出错@Action(value =](/uploads/image/z/15096483-27-3.jpg?t=struts2+%E9%9B%B6%E9%85%8D%E7%BD%AE%E8%BF%94%E5%9B%9Etype%3Djson%E5%87%BA%E9%94%99%40Action%28value+%3D+%22%2Fimage%22%2Cresults+%3D%7B%40Result%28name%3D%22success%22%2Ctype%3D%22json%22%2Cparams+%3D+%7B%22root%22%2C%22result%22+%7D%29%7D%29tomcat%E5%90%AF%E5%8A%A8%E8%A7%A3%E6%9E%90%40Action%E3%80%81%E3%80%81%E3%80%81%E6%97%B6%2Ctype%E7%B1%BB%E5%9E%8B%E5%87%BA%E9%94%99%E9%94%99%E8%AF%AF%EF%BC%9AThe+Result+type+%5Bjson%5D+which+is+defined+in+the+Re)
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 Re
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]
知道的就说吧
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 Re
您好,请问您是否扩展了 json-default 命名空间