struts2入门菜鸟
配置struts2中,程序总是报:
Therequestedresource(Noresultdefinedforactioncom.action.RegisterActionandresultsuccess)isnotavailable.错误
仔细的分析程序,发现没有任何问题。上百度查找,发现问题出现在jsp表单的action出现问题。
例如:<formaction="login"></form>就会报上面的错误
当把login改为Login是程序运行正常。
转载于:https://blog.51cto.com/erlong/1324844