
struts
hepeng1688
这个作者很懒,什么都没留下…
展开
-
从spring配置文件中读取bean的方法.txt
/**第一种 */ ApplicationContext ac = new FileSystemXmlApplicationContext("serviceContext.xml"); JurisdictionImp jurisdictionImp = (JurisdictionImp)ac.getBean("jurisdictionImp"); /**第二种*/ FileSystemXmlApp...2007-01-26 10:58:33 · 162 阅读 · 0 评论 -
mysql的中文乱码问题
1.安装服务器时指定字符集为UTF-8。 2.建数据库时指定字符集为UTF-8,我的数据库(MYSQL)的字符集是通过ENGINE=InnoDB DEFAULT CHARSET=utf8;设置成“UTF8”的 3.在web.xml里设计过滤器字符集为utf-8 <filter></filter> <filter-name></filter-name>...2007-01-26 10:59:41 · 91 阅读 · 0 评论