<% org.springframework.web.servlet.i18n.CookieLocaleResolver clr=new org.springframework.web.servlet.i18n.CookieLocaleResolver(); clr.setLocale(request,response,Locale.CHINA); //This shows different internationalization according to different situations %>
By placing the terminal code on the jsp page, different jsp login pages can realize different internationalization prompts