WARN - Could not find action or result
No result defined for action com.ky.action.LoginAction and result error
说明
struts2配置
<package name="net" extends="struts-default">
<action name="submit" class="com.ky.action.Submit">
<result name="success">web/success.jsp</result>
<result name="error">web/success.jsp</result>
</action>
</package>
lib:
[img]http://dl.iteye.com/upload/attachment/355171/8513d79f-0bb8-32ea-b1c8-dac835726680.jpg[/img]
解决方案:
删除lib下边的
struts2-convention-plus.jar
No result defined for action com.ky.action.LoginAction and result error
说明
struts2配置
<package name="net" extends="struts-default">
<action name="submit" class="com.ky.action.Submit">
<result name="success">web/success.jsp</result>
<result name="error">web/success.jsp</result>
</action>
</package>
lib:
[img]http://dl.iteye.com/upload/attachment/355171/8513d79f-0bb8-32ea-b1c8-dac835726680.jpg[/img]
解决方案:
删除lib下边的
struts2-convention-plus.jar