<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ taglib prefix="sitemesh" uri="http://www.opensymphony.com/sitemesh/decorator" %>
<!DOCTYPE html>
<html lang="en">
<head>
<title><sitemesh:title/></title>
<%@include file="/WEB-INF/views/include/head.jsp" %>
<sitemesh:head/>
</head>
<body <sitemesh:getProperty property="body.class" writeEntireProperty="true" />>
<sitemesh:body/>
<%@include file="/WEB-INF/views/include/footer.jsp" %>
</body>
</html>
重点 :<body <sitemesh:getProperty property="body.class" writeEntireProperty="true" />>