web页面检索数据库中的字段是乱码问题

this.databaseEncoding = "GBK";
//  this.databaseEncoding = "ISO8859-1";
  this.platformEncoding = "GBK";

获得数据库字符时候需要转换

posted on 2013-05-03 10:33 youngturk 阅读(289) 评论(0)  编辑  收藏 所属分类: 数据库方面Java基础服务器环境部署web.xml解析


只有注册用户登录后才能发表评论。


网站导航:
 
<2013年5月>
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

导航

统计

公告

this year :
1 jQuery
2 freemarker
3 框架结构
4 口语英语

常用链接

留言簿(6)

随笔分类

随笔档案

文章分类

文章档案

相册

EJB学习

Flex学习

learn English

oracle

spring MVC web service

SQL

Struts

生活保健

解析文件

搜索

最新评论

阅读排行榜

评论排行榜