Chinaunix
标题:
jsp中的include汉字问题请教!
[打印本页]
作者:
穷惯了
时间:
2005-02-04 09:59
标题:
jsp中的include汉字问题请教!
俺是JAVA方面的新手,有一问题请教各位大侠!
jsp的文件已经定义<%@ page contentType="text/html; charset=utf-8" %>;,同时<%@ include file="head.html" %>;
但是head.html中的汉字却未能正确显示(head.html中已经包括<meta http-equiv="Content-Type" content="text/html; charset=utf-8">;),
不懂jsp中的include是怎么把head.html包括进来的,按道理应该是正常才对,搞了很长时间都没解决,请各位赐教谢谢!
作者:
hantsy
时间:
2005-02-05 17:35
标题:
jsp中的include汉字问题请教!
还要保证文件的保在方式也是相同。。。一般都可以设置ide编码。。。。
另外建议使用
<%@page pageEncoding="utf-8"%>;代替<%@page contentType=....%>;
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2