我在ZoroAction 没有做任何处理,@Controller public class ShowSubjectJsonAction extends BaseAction { private static final long serialVersionUID = 2024767819377764946L;
@Autowired private SubjectService subjectService; private int id; public String execute(){
我在ZoroAction 没有做任何处理,@Controller public class ShowSubjectJsonAction extends BaseAction { private static final long serialVersionUID = 2024767819377764946L;
@Autowired private SubjectService subjectService; private int id; public String execute(){
return null; }} 问题是action都进不了你贴的不是ZoroAction , There is no Action mapped for namespace /jsonAjax and action name zero. 出现这种问题肯定是 配置的action 与自己访问的路径不匹配导致的。。
貌似是你的访问的是zero. 是不是多了个.
我在ZoroAction 没有做任何处理,@Controller
public class ShowSubjectJsonAction extends BaseAction {
private static final long serialVersionUID = 2024767819377764946L;
@Autowired
private SubjectService subjectService;
private int id;
public String execute(){
return null;
}}
问题是action都进不了
貌似是你的访问的是zero. 是不是多了个.
这个.是异常信息结尾的句号吧
我访问的地址是http://localhost:8080/elective/jsonAjax/zero.do
我在ZoroAction 没有做任何处理,@Controller
public class ShowSubjectJsonAction extends BaseAction {
private static final long serialVersionUID = 2024767819377764946L;
@Autowired
private SubjectService subjectService;
private int id;
public String execute(){
return null;
}}
问题是action都进不了你贴的不是ZoroAction ,
There is no Action mapped for namespace /jsonAjax and action name zero.
出现这种问题肯定是 配置的action 与自己访问的路径不匹配导致的。。