不能出中文問題
觸立執行以下內容的, 結果是不能顯示出中文字( 變了問號), 結果编码格式是 utf-8.
在 acc/SeaUser文件中包括一些中文.
包括用<bean:message key="common.recordnotfound"/>
或hard code 的中文字.
-----------------fun1.jsp
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<html:html locale="true">
請輸入
<tiles:insert page="/layout/indexLayout.jsp">
<tiles:put name="header" value="../header.jsp" />
<tiles:put name="menu" value="../menu.jsp" />
<tiles:put name="body" value="/acc/SeaUser.jsp"/>
</tiles:insert>
</html:html>
-------------------------------