No result defined for action <class> and result input
问题 Here is my struts.xml <package name="ajax" extends="json-default" > <action name="loadcity" method="loadcity" class="roseindia.action.user.RegisterUser" > <result type="json" /> </action> </package> When I am calling loadcity.action I am getting following error No result defined for action roseindia.action.user.RegisterUser and result input Here is my action method: public String loadcity() { country=request.getParameter("country"); cityList= dao.loadcity(country); return ActionSupport