Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Servlet/JSP/JSF/JavaFX Script  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
reply to postflat modethreaded modego to previous topicgo to next topicgo to back
作者 为什么不能为汉字?
yangxg_a





发贴: 17
于 2005-12-05 10:55 user profilesend a private message to userreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我在下面的JSP文件中静态插入了一个名为 Hello.txt 的文本文件,为什么当这个文本文件里的内容不是汉字时就显示正确,是汉字时就连编译都通不过啊?在程序开头第一句不是已经定义成可以显示汉字了吗?另外,这段程序是书上的源程序,我不知道这个 H3 标签是什么意思,麻烦各位指教一下。

<%@ page contentType="text/html;charset=GB2312" %>
<HTML>
<BODY bgcolor=cyan>
<H3>
<%@ include file="Hello.txt" %>
</H3>
</BODY>
</HTML>




话题树型展开
人气 标题 作者 字数 发贴时间
2868 为什么不能为汉字? yangxg_a 289 2005-12-05 10:55
2384 Re:为什么不能为汉字? ntshenwh 317 2005-12-05 11:17
2454 Re:为什么不能为汉字? yangxg_a 24 2005-12-05 12:29
2432 Re:为什么不能为汉字? ntshenwh 120 2005-12-05 13:08
2433 Re:为什么不能为汉字? yangxg_a 26 2005-12-05 17:40
2465 Re:为什么不能为汉字? yangxg_a 158 2005-12-05 17:49
2408 Re:为什么不能为汉字? ntshenwh 455 2005-12-06 08:56
2472 Re:为什么不能为汉字? bigfoot007 646 2005-12-06 16:57
2566 Re:为什么不能为汉字? yangxg_a 152 2005-12-07 10:40

reply to postflat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923