There is no Action mapped for action name main

在用struts2做开发的时候,有时会遇到这样的问题,意思是在struts中没有与main页面相对应的action,应该去查看strus.xml中的配置是否有这个action,或者是不是因为重定向错误。

你可能感兴趣的:(There is no Action mapped for action name main)