spring
文章平均质量分 65
chenweishaoxing
这个作者很懒,什么都没留下…
展开
-
许可证区别
许可证区别原创 2011-05-03 12:35:46 · 112 阅读 · 0 评论 -
spring mvc 乱码
因为使用spring mvc的时候,已经在web.xml中设置了servlet:[html] view plaincopy <servlet> <servlet-name>spring</servlet-name> <servlet-class>org.springframework.web.serv...原创 2013-08-20 12:19:23 · 59 阅读 · 0 评论 -
spring data jpa 和spring mvc
http://www.cnblogs.com/luxh/archive/2012/08/31/2665421.html原创 2013-08-20 22:10:05 · 65 阅读 · 0 评论 -
spring mvc 整合shiro
http://www.th7.cn/Program/java/201303/130757.shtml原创 2013-08-20 23:13:59 · 73 阅读 · 0 评论 -
spring mvc 权限管理项目 shiro
https://github.com/ketayao原创 2013-08-20 23:37:24 · 80 阅读 · 0 评论 -
Spring+SpringMVC+JPA
SpringMVC是越来越火,自己也弄一个Spring+SpringMVC+JPA的简单框架。 1、搭建环境。 1)下载Spring3.1.2的发布包;Hibernate4.1.7的发布包(没有使用hibernate的API,只是使用了它对JPA的实现);下载 BoneCP 连接池框架及其依赖的jar,下载缓存框架ehcache,全部所用到的jar包如下: ?...原创 2013-08-21 16:17:40 · 326 阅读 · 0 评论 -
Spring JPA 无法扫描多JAR包中@Entity类的有关问题
Spring JPA 无法扫描多JAR包中@Entity类的有关问题www.MyException.Cn 发布于:2013-02-24 17:58:56 浏览:15次 Spring JPA 无法扫描多JAR包中@Entity类的问题问题描述:项目中使用Maven管理,将项目划分为多个子模块,每个子模块中都自己模块的实体类。 在主模块中使用Spring JPA的配置如下...原创 2013-08-26 23:20:46 · 697 阅读 · 0 评论 -
spring mvc 文件的上传和下载
http://blog.csdn.net/yiyuhanmeng/article/details/7407340原创 2013-09-11 15:32:24 · 81 阅读 · 0 评论 -
spring mvc 发生邮件
http://blog.csdn.net/geloin/article/details/7549303原创 2013-09-11 15:38:28 · 74 阅读 · 0 评论 -
spring mvc 作业调度
http://tonyaction.blog.51cto.com/227462/84008/原创 2013-09-11 15:42:09 · 93 阅读 · 0 评论 -
spring mvc 定时器
http://fhqllt.iteye.com/blog/434945原创 2013-09-11 15:44:15 · 60 阅读 · 0 评论 -
spring mvc jpa 引入包中的实体类
http://www.iteye.com/topic/1131643最近在做一个web项目. 大系统下有三个子Web模块. 打包时会生成webA.war, webB.war, webC.war. 因为三个子模块有共用的model, 所以我将共有的model层提取到一个公共的模块中:model 系统用maven构建.关系为 parent |------pom.xml |------mo...原创 2013-09-16 16:22:42 · 478 阅读 · 0 评论 -
服务器推送技术可以看看
activeMq或者comet4j试试原创 2013-09-17 16:38:29 · 68 阅读 · 0 评论 -
pom 创库
1, spring 和hibernate要哪些包,这个要LZ自己上网查了,这里说不清楚. 2, 建立的仓库可以用APACHE来发布一个, 然后在POM.XML输入,例如.<repositories><repository><id>springsource-milestone</id><url>http://repos...原创 2013-09-20 01:13:22 · 76 阅读 · 0 评论 -
spring mvc 控制文件大小
http://19950603.blog.51cto.com/9921553/1616569原创 2015-03-08 23:49:30 · 142 阅读 · 0 评论 -
spring mvc maven 视频
http://www.verycd.com/topics/2917293/原创 2013-10-17 03:24:47 · 95 阅读 · 0 评论 -
spring data jpa 分页
public Page getUserTask(Long userId, Map searchParams, int pageNumber, int pageSize, String sortType) { PageRequest pageRequest = buildPageRequest(pageNumber, pageSize, sortType); Specificat...原创 2014-08-28 23:27:28 · 132 阅读 · 0 评论 -
Spring3.2.2_自动装配
Spring3.2.2_自动装配分类: Spring课程总结2013-04-25 16:33 157人阅读 评论(0) 收藏 举报Spring_Autowiring collaborators在Spring3.2.2中自动装配类型,分别为:no(default)(不采用自动装配)、byName,byType,constructor下面来分别介绍一下这些是如何自动装配的...原创 2013-08-16 08:57:50 · 89 阅读 · 0 评论 -
Spring 3 MVC: Tiles Plugin Tutorial With Example In Eclipse By Viral Patel on Ju
Spring 3 MVC: Tiles Plugin Tutorial With Example In EclipseBy Viral Patel on July 8, 2010 Welcome to Part 4 for Spring 3.0 MVC Series. In previous article we saw how to create a form ...原创 2013-08-14 17:24:40 · 170 阅读 · 0 评论 -
spring data jpa 采用内存数据库
# The default database is H2 memory database but I have also# added configuration needed to use either MySQL and PostgreSQL.#Database Configurationdb.driver=org.h2.Driver#db.driver=com.mysql.jdbc.Driv...原创 2013-08-13 15:43:00 · 317 阅读 · 0 评论 -
Extjs交换
Ext.Ajax.request({ method:'POST', url: MCLONIS+"/scm/planAuditAction!audit.action", params:{ ...原创 2011-06-02 21:19:33 · 57 阅读 · 0 评论 -
spring的AOP事务管理(拦截多个类的举例及代码其他说明)
如果要在方法执行前或后或抛出异常后加上一个自己的拦截器,或者一个环绕拦截器,在拦截器中执行一些操作,比如执行一些数据库操作,记录一些信息,这些操作通过调用一个服务类的方法来执行,这个方法也在spring事务管理拦截器的管理之下,那么这个记录方法需要在另一个事务中进行,而不是与被拦截方法在同一个事务中,不然如果被拦截方法抛出异常需要回滚时,所作的记录也会被回滚,当然有时候确实需要同时回滚,那...原创 2011-04-08 09:09:59 · 1032 阅读 · 0 评论 -
OpenSessionInView
< > 猎头职位: 上海: 上海:天会皓闻诚聘资深Java架构师相关文章: * Hibernate中的"Repeated column in mapping for entity"异常 * Hibernate in action (one-to-many/many-to-one)(疑惑) * 总结一下最近关于domain object以及相关的讨论...原创 2011-04-08 12:15:13 · 53 阅读 · 0 评论 -
Spring复习-自定义类注入,list set map自定义类注入
我们对类中的参数注入的时候,有的时候,注入的是我们自己定义的类,而不是java基本的类型。如下 Home.java是我们自己定义的类 package com.endual.bean;public class Home { private String address ; private int phone ; public Strin...原创 2012-05-24 13:29:18 · 344 阅读 · 0 评论 -
Spring mvc 返回JSON
public ModelAndView updateContractTitle (HttpServletRequest request, HttpServletResponse response) throws Exception { ModelAndView mav = new ModelAndView(); long applyId = Long.value...原创 2013-03-15 11:23:12 · 61 阅读 · 0 评论 -
使用spring的hibernateTemplate的方法 (转)
使用spring的hibernateTemplate的方法 分类: Struts+Hibernate+Spring 2009-05-22 15:48 6692人阅读 评论(6) ...原创 2012-07-24 17:12:48 · 118 阅读 · 0 评论 -
spring 整合 hibernate
1.闲话少说了,先看版本吧。2.在看要导入的包吧:其中打圈的,我在hibernate和spring的lib包中无法找到,要自己单独下载。因为版本的原因,或许你下载的包可能会导致包无法找到,没有关系,有些事情总是试试才知道的。这也是学习必经之路哦。其中的dbcp 和pool 是spring配置数据源(数据库连接池要用到的),而slf4j的几个包,是由于看了马士兵视频才...原创 2012-07-28 10:41:35 · 77 阅读 · 0 评论 -
利用MultipartFile实现文件上传
利用MultipartFile实现文件上传分类: spring2007-01-30 17:38 8593人阅读 评论(0) 收藏 举报importbeanexceptionservletclassfile利用MultipartFile实现文件上传 在java中上传文件似乎总有点麻烦,没.net那么简单,记得最开始的时候用smartUpload...原创 2013-05-03 10:00:00 · 1063 阅读 · 0 评论 -
SpringMVC Controller介绍
SpringMVC Controller介绍 来自 http://haohaoxuexi.iteye.com/blog/1753271 博客分类: SpringMVCSpringMVCModelAttributeSessionAttributesControllerRequestMapping SpringMVC Controller...原创 2012-12-25 14:45:15 · 664 阅读 · 0 评论 -
spring data JPA 配置
我们都知道Spring是一个非常优秀的JavaEE整合框架,它尽可能的减少我们开发的工作量和难度。 在持久层的业务逻辑方面,Spring开源组织又给我们带来了同样优秀的Spring Data JPA。 通常我们写持久层,都是先写一个接口,再写接口对应的实现类,在实现类中进行持久层的业务逻辑处理。 而现在,Spring Data JPA帮助我们自动完成了持久层的业务逻辑处理,我们...原创 2013-07-12 14:43:48 · 129 阅读 · 0 评论 -
java compiler level does not match the version of the installed java project fac
java compiler level does not match the version of the installed java project检举|2012-05-08 11:20SOLYMYY | 分类:JAVA相关 | 浏览15347次java compiler level does not match the version of the installed...原创 2013-07-16 15:03:15 · 73 阅读 · 0 评论 -
Spring3.1+SpringMVC3.1+JPA2.0
http://www.see-source.com/blog/300000031/263原创 2013-07-17 09:09:08 · 92 阅读 · 0 评论 -
Spring mvc 整合JPA
http://www.objectdb.com/tutorial/jpa/eclipse/spring原创 2013-07-17 09:31:20 · 87 阅读 · 0 评论 -
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderL
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener为什么找不到? 你是maven管理的吧。[img]http://dl2.iteye.com/upload/attachment/0087/0462/54e09b19-4216-3873-a840-757...原创 2013-07-17 10:34:16 · 82 阅读 · 0 评论 -
Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war
Maven学习笔记 错误1:An error has occurred when creating this preference page解决办法:将环境变量Path中%JAVA_HOME%\bin;置于path最前面解决问题 错误2:webxml attribute is required123456[ER...原创 2013-07-22 11:27:43 · 293 阅读 · 0 评论 -
spring学习笔记 -- 资源访问(Resource接口)
http://snkcxy.iteye.com/blog/1913796 概述: 主要介绍3种方式(当然不止三种,但是这三种基本能应付大多需求)FileSystemResource:以文件的绝对路径方式进行访问ClassPathResourcee:以类路径的方式访问ServletContextResource:web应用根目录的方式访问主要公用方法介...原创 2013-07-26 13:08:05 · 152 阅读 · 0 评论 -
spring mvc 文件上传
http://cmao.iteye.com/blog/2264386原创 2015-12-16 15:56:36 · 58 阅读 · 0 评论