访问静态资源jsp的时候如何去掉后缀.jsp

2025-02-23 10:35:59
推荐回答(1个)
回答1:

在mvc-dispatcher-servlet配置文件中







当有时,直接modelAndView.setViewName("hello1");就可以了。