<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
如果<welcome-file>index.html</welcome-file>存在,这不会再走Spring的拦截器
<span style="font-size:18px;">@RequestMapping(value="/",method=RequestMethod.GET)
public String index(Model model){
return "../index";
}</span>