@RequestMapping("showCheckState")改成@RequestMapping("/showCheckState"),而且你请求的url是/userExamination/showCheckState,说明应该如下配置:
@Controller
@RequestMapping("userExamination")
public class A{
      @RequestMapping("/showCheckState")
      public String showCheckState(Page page, Model model,BatchNoticePageModel queryModel,HttpServletRequest request){
//TODO
}
}这样的话,url就是/userExamination/showCheckState

解决方案 »

  1.   

    我试一下的,我看了一下他的,他的也是
    @RequestMapping("showBatchNotice")
    public String showBatchNotice(Page page, Model model,BatchNoticePageModel queryModel,HttpServletRequest request){
    if(queryModel.getPage() == null){
    queryModel.setPage(page);
      

  2.   

    今天上午我也碰到同样的问题,你贴一下你的jsp,再看下配置文件是否有改动
      

  3.   

    缺注解自动扫描吧,在dispatcherServlet-servlet.xml中加入
    <context:component-scan base-package="showCheckState所在包" />
      

  4.   

    问题解决了,把myeclipse和web缓存清掉就好了