摘要: 在web.xml中添加 <filter> <filter-name>Set Character Encoding</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> <init-param> <param-name>encoding</param-name> <param-value>utf8</param-value> </i 阅读全文
posted @ 2013-02-04 11:14 Peter_youny 阅读(128) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/kevingavinhu/article/details/6601150 阅读全文
posted @ 2013-02-04 09:29 Peter_youny 阅读(221) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/freeman527/article/details/7561965 阅读全文
posted @ 2013-01-30 10:50 Peter_youny 阅读(131) 评论(0) 推荐(0) 编辑
摘要: tnsnames文件# tnsnames.ora Network Configuration File: F:\oracle\product\10.1.0\Db_1\NETWORK\ADMIN\tnsnames.ora# Generated by Oracle configuration tools.ORCL = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) ) (CONNECT_DATA = (SERVER = DED... 阅读全文
posted @ 2013-01-30 10:25 Peter_youny 阅读(519) 评论(0) 推荐(0) 编辑
摘要: (1)hibernate.cfg.xml文件的配置 <session-factory> <property name="connection.url">jdbc:oracle:thin:@localhost:1521:ORCL</property> <property name="connection.username">yyw</property> <property name="connection.password">1</property> & 阅读全文
posted @ 2013-01-29 19:18 Peter_youny 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 解决方案,在数据中重新创建序列指定序列前缀该法屡试不爽 阅读全文
posted @ 2013-01-29 19:07 Peter_youny 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-01-29 15:36 Peter_youny 阅读(169) 评论(0) 推荐(0) 编辑
摘要: (1)dispatcher-servlet.xml<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context 阅读全文
posted @ 2013-01-29 08:58 Peter_youny 阅读(613) 评论(0) 推荐(0) 编辑
摘要: http://elf8848.iteye.com/blog/875830 阅读全文
posted @ 2013-01-28 16:43 Peter_youny 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-01-27 22:28 Peter_youny 阅读(178) 评论(0) 推荐(0) 编辑