type Exception report
message No result defined for action com.action.goodsAction and result input
description The server encountered an internal error that prevented it from fulfilling this request.
exception
No result defined for action com.action.goodsAction and result input - action - file:/D:/develop/apache-tomcat-7.0.42/wtpwebapps/cai_yinxiang/WEB-INF/classes /struts.xml:84:71
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:350) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
原因:传递参数的时候,类型不对,
如下面goodsId就不对,多了个‘}’:
goodsId:2}
goodsCatelogId:1
goodsName:玩命追踪
可以通过浏览器的网络查看器来查看,页面传递的参数。