No result defined for action org.strutsOne.web.SumAction and result

No result defined for action org.strutsOne.web.SumAction and result
<p class="p0" style="text-align: left; margin-top: 0pt; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="color:#333333;"><span style="background-color: rgb(255, 255, 255);"><span style="background: rgb(82, 93, 118); color: rgb(192, 80, 77); font-family: '宋体'; font-size: 14pt; font-weight: bold; mso-spacerun: 'yes'; mso-highlight: rgb(192, 192, 192); mso-shading: rgb(82, 93, 118);">是没有结果定义为这个<span style="font-family:Tahoma;">action </span><span style="font-family:宋体;">这个类和结果</span><span style="font-family:Tahoma;">--========</span></span><span style="background: rgb(82, 93, 118); color: rgb(192, 80, 77); font-family: '宋体'; font-size: 14pt; font-weight: bold; mso-spacerun: 'yes'; mso-shading: rgb(82, 93, 118);">原因是因为这个方法<span style="font-family:Tahoma;">:</span></span></span></span><span style="background: rgb(82, 93, 118); color: rgb(192, 80, 77); font-family: '宋体'; font-size: 14pt; font-weight: bold; mso-spacerun: 'yes'; mso-shading: rgb(82, 93, 118);"><o:p></o:p></span></p><p class="p0" style="text-align: left; margin-top: 0pt; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="color: rgb(127, 0, 85); font-family: 'Courier New'; font-size: 10pt; font-weight: bold; mso-spacerun: 'yes';">public</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';"> String execute() </span><span style="color: rgb(127, 0, 85); font-family: 'Courier New'; font-size: 10pt; font-weight: bold; mso-spacerun: 'yes';">throws</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';"> Exception{</span><span style="font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';"><o:p></o:p></span></p><p class="p0" style="text-align: left; margin-top: 0pt; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">System.</span><span style="color: rgb(0, 0, 192); font-family: 'Courier New'; font-size: 10pt; font-style: italic; mso-spacerun: 'yes';">out</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">.println(</span><span style="color: rgb(127, 0, 85); font-family: 'Courier New'; font-size: 10pt; font-weight: bold; mso-spacerun: 'yes';">this</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">.</span><span style="color: rgb(0, 0, 192); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">name</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">+</span><span style="color: rgb(42, 0, 255); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">"\t\t<span style="font-family:Courier New;">"</span></span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">+</span><span style="color: rgb(127, 0, 85); font-family: 'Courier New'; font-size: 10pt; font-weight: bold; mso-spacerun: 'yes';">this</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">.</span><span style="color: rgb(0, 0, 192); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">birth</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">);</span><span style="font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';"><o:p></o:p></span></p><p class="p0" style="text-align: left; margin-top: 0pt; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="color: rgb(63, 127, 95); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">//<span style="font-family:宋体;">逻辑结果</span></span><span style="font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';"><o:p></o:p></span></p><p class="p0" style="text-align: left; margin-top: 0pt; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="color: rgb(0, 0, 192); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">result</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';"> =</span><span style="color: rgb(42, 0, 255); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">"<span style="font-family:宋体;">你可以跟着我混</span><span style="font-family:Courier New;">"</span></span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">+</span><span style="color: rgb(127, 0, 85); font-family: 'Courier New'; font-size: 10pt; font-weight: bold; mso-spacerun: 'yes';">this</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">.</span><span style="color: rgb(0, 0, 192); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">name</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">;</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';"><o:p></o:p></span></p><p class="p0" style="text-align: left; margin-top: 0pt; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="color: rgb(127, 0, 85); font-family: 'Courier New'; font-size: 10pt; font-weight: bold; mso-spacerun: 'yes';">return</span><span style="color: rgb(42, 0, 255); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">"Result"</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">;</span><span style="font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';"><o:p></o:p></span></p><p class="p0" style="text-align: left; margin-top: 0pt; margin-bottom: 0pt; mso-layout-grid-align: none;"><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">	</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">}</span><span style="background: rgb(82, 93, 118); color: rgb(192, 80, 77); font-family: '宋体'; font-size: 14pt; font-weight: bold; mso-spacerun: 'yes'; mso-shading: rgb(82, 93, 118);">中的</span><span style="color: rgb(127, 0, 85); font-family: 'Courier New'; font-size: 10pt; font-weight: bold; mso-spacerun: 'yes';">return</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';"> </span><span style="color: rgb(42, 0, 255); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">"Result"</span><span style="color: rgb(0, 0, 0); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">;</span><span style="color: rgb(0, 0, 0); font-family: '宋体'; font-size: 10pt; mso-spacerun: 'yes';">===</span><span style="color: rgb(42, 0, 255); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">"Result"</span><span style="color: rgb(42, 0, 255); font-family: '宋体'; font-size: 10pt; mso-spacerun: 'yes';">没有在</span><span style="color: rgb(42, 0, 255); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">struts.xml</span><span style="color: rgb(42, 0, 255); font-family: '宋体'; font-size: 10pt; mso-spacerun: 'yes';">中的<span style="font-family:Courier New;"><result name=</span></span><span style="color: rgb(42, 0, 255); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">”</span><span style="color: rgb(42, 0, 255); font-family: '宋体'; font-size: 10pt; mso-spacerun: 'yes';">Result</span><span style="color: rgb(42, 0, 255); font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';">”</span><span style="color: rgb(42, 0, 255); font-family: '宋体'; font-size: 10pt; mso-spacerun: 'yes';">></result><span style="font-family:宋体;">配置</span></span><span style="font-family: 'Courier New'; font-size: 10pt; mso-spacerun: 'yes';"><o:p></o:p></span></p><!--EndFragment-->





  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值