日期:2014-05-17  浏览次数:20649 次

Spring MVC跳转页面问题
@RequestMapping("/survey")
public class SurveyController {
@RequestMapping("/show2dSurveyDetails.do")
public ModelAndView show2dSurveyDetails(@RequestParam("Id") String surveyCode){
ModelMap model = new ModelMap();

     return new ModelAndView("2dSurveyDetails" , model);
}
理论上是应该跳转到2dSurveyDetails.jsp,但是实际上地址栏没有进行跳转。
还是/survey/show2dSurveyDetails.do

------解决方案--------------------
看下jsp路径有没有错,打个断点看下是否进了这个controller