No result defined for action com.tes.web.action.FirstAction and result success,该

No result defined for action com.tes.web.action.FirstAction and result successaction代码public Stri

No result defined for action com.tes.web.action.FirstAction and result success
action代码
public String excute() throws Exception {
if (getNum() > 0) {
return "positive";
} else {
return "negative";
}
}
struts.xml配置文件
<package name="struts2" extends="struts-default" namespace="/s">
<action name="sum" class="com.tes.web.action.FirstAction">
<result name="positive">/positive.jsp</result>
<result name="nagetive">/negative.jsp</result>
</action>
</package>

跳转的时候就报这个错误

[解决办法]
你再加个result 为 SUCCESS 试一下 。
[解决办法]
是execute,不是excute
你action里少写了个e