摘要: 中文乱码 Spring JAVA 阅读全文
posted @ 2015-04-14 16:19 shenghaishiweini 阅读(408) 评论(0) 推荐(0) 编辑
摘要: http://mybatis.github.io/mybatis-3/zh/sqlmap-xml.html#Result_Maps 阅读全文
posted @ 2015-03-17 14:57 shenghaishiweini 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 现象:在调试状态下,断点可以进入ACTION ,当调用service的时候,发现无法进入service中的断点,就报了题目中的错误。过程:1、降低JDK。因为本工程是用JDK1.6编译的,maven工程中 是用1.6编译的。 修改了eclipse中的相关地方,包括:编译部分以及Installed j... 阅读全文
posted @ 2014-12-15 19:28 shenghaishiweini 阅读(3989) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-09-17 16:40 shenghaishiweini 阅读(120) 评论(0) 推荐(0) 编辑
摘要: Class classA{ List a; public void setA(List a) { this.a =a; } public List getA() { return this.a; } }....cl... 阅读全文
posted @ 2014-09-04 18:22 shenghaishiweini 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 我学习一个程序,都是从DEMO开始的。先不了解SPRING-MVC的原理,但一些小的概念还是需要了解的。由于之前有过SSH的工程经验,故基本的东东,不在叙述。1、准备环境 JAR包: 红色的这几个。PS:之前忘记写了,我整合的mybatis和mysql,故JAR包比较多2、JRE环境。 这个需要注意... 阅读全文
posted @ 2014-09-04 18:12 shenghaishiweini 阅读(290) 评论(0) 推荐(0) 编辑
摘要: org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 1 in the generated java fileThe type java.util.Map$Entr... 阅读全文
posted @ 2014-09-04 14:04 shenghaishiweini 阅读(839) 评论(1) 推荐(0) 编辑
摘要: 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework... 阅读全文
posted @ 2014-09-04 14:01 shenghaishiweini 阅读(12208) 评论(0) 推荐(0) 编辑
摘要: 我使用的环境是OS:Red Hat Enterprise Linux AS release 4 (Nahant Update 3)PYTHON:2.7.2如果操作系统没有安装python, 百度输入关键字:Linux python安装 即可环境准备完后,输入python 进入python的编辑界面。... 阅读全文
posted @ 2014-08-29 11:19 shenghaishiweini 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 如题,有两种方法1)使用FLUSH2)使用JDBC分别来解释:1)hibernate在进行数据库操作的时候,都要有事务支持的。可能你曾遇到过,没有加事务,程序会报错的情况。 而事务每次提交的时候,都会和数据库交互,即让数据库执行SQL语句。 在说到hibernate中的save() 或者saveOr... 阅读全文
posted @ 2014-07-24 16:20 shenghaishiweini 阅读(8189) 评论(2) 推荐(0) 编辑