文选流氓 发表于 2003-5-12 21:44

1-1-16-6-9 <%@ include file...%>中的中文问题

发信人: kasper (回来了), 信区: Java
标题: Re: <%@ include file...%>中的中文问题
发信站: BBS 水木清华站 (Mon Jun 19 12:13:47 2000)

【 在 changeboy (Jamesbond) 的大作中提到: 】
: 被<%@ include file="chinese.html" %>包含的chinese.html或jsp文件中如有中文
: 如何使其正确显示?
: 平台:tomcat3.1
: 另外:tomcat的javac的 -encoding选项在哪设置,没有找到类似于ApacheJServ中的
: zone.properties 文件。

这个不用设的,<@page contentType="text/html; charset=GBK">

就可以了,tomcat会自己找这个作为encoding
页: [1]
查看完整版本: 1-1-16-6-9 <%@ include file...%>中的中文问题