三、配置index.jsp
<%@ page contentType='text/<em>html</em>; charset=UTF-8'%>
<%@ taglib prefix="spring" uri="http:
DOCTYPE <em>html</em> PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/<em>html</em>; charset=ISO-8859-1">
<title>Insert
langType=en">英文
<spring:message code="index"/>
哈哈哈哈 这是个主页
</body>
</html>
四、后台配置
/**
* 中英文语言切换
* 创建者 张志朋
* 创建时间 2016年8月1日
*
*/
@Controller
public class GlobalController extends