頁(yè)面布局采用了sitemesh。其中有一個(gè)靜態(tài)頁(yè)面a.htm:

<html>
    
<head>
        
<title>SiteMesh Sample Site</title>
    
</head>
    
<body>

        
<p>Welcome to the SiteMesh sample</p>

        
<h3>Samples</h3>

        
<ul>
            
<li><href="inline.jsp">中國(guó)</a></li>
        
</ul>

    
</body>
</html>

結(jié)果出現(xiàn)了亂碼,后來(lái)改成了jsp頁(yè)面
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<html>
    
<head>
        
<title>SiteMesh Sample Site</title>
    
</head>
    
<body>

        
<p>Welcome to the SiteMesh sample</p>

        
<h3>Samples</h3>

        
<ul>
            
<li><href="inline.jsp">中國(guó)</a></li>
        
</ul>

    
</body>
</html>

亂碼問(wèn)題就解決了。