码迷,mamicode.com
首页 >  
搜索关键字:springframework    ( 4755个结果
Struts之准备工作
*Struts之需要准备的jar包:*Struts之xml配置文件: 1 2 3 4 5 index.jsp 6 7 8 org.springframework.web.context.ContextLoaderListener 9 1...
分类:其他好文   时间:2014-08-24 23:39:13    阅读次数:392
No Dialect mapping for JDBC type–4 hibernate查询MySQL中longBlob数据
MySQL数据库中的类型为longBlob实体类定义为:byte[] 类型映射文件配置为:type="org.springframework.orm.hibernate3.support.BlobByteArrayType异常信息:1 org.hibernate.MappingException: ...
分类:移动开发   时间:2014-08-23 15:16:30    阅读次数:267
Spring与FreeMarker的小例子
由于项目需要,需要使用FreeMarker,今天正好研究就写了一个简单的小例子首先配置web.xml,<servlet> <servlet-name>springmvc</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <init-para..
分类:编程语言   时间:2014-08-22 18:08:19    阅读次数:194
SpringMVC Ajax请求时返回json中文字符串的乱码问题的解决方案
1.org.springframework.http.converter.StringHttpMessageConverter类是处理请求或相应字符串的类,并且默认字符集为ISO-8859-1,所以在当返回json中有中文时会出现乱码。 2.StringHttpMessageConverter的父类里有个List supportedMediaTypes属性,用来存放StringHttpMessageConverter支持需特殊处理的MediaType类型,如果需处理的MediaTyp...
分类:编程语言   时间:2014-08-21 15:04:24    阅读次数:224
Spring MVC annotation configuration
1. Web.xml springMvcDemo index.jsp springMVC org.springframework.web.servlet.DispatcherServlet ...
分类:编程语言   时间:2014-08-21 13:06:04    阅读次数:279
Spring MVC xml configuration
1. Web.xml id="WebApp_ID" version="3.0"> springMvcDemo index.jsp springMVC org.springframework.web.servlet.Disp...
分类:编程语言   时间:2014-08-21 13:00:44    阅读次数:222
spring3.0的jar包详解
1.spring.jar 是包含有完整发布模块的单个jar 包。2.org.springframework.aop 包含在应用中使用Spring的AOP特性时所需的类。3.org.springframework.asm Spring独立的asm程序, Spring2.5.6的时候需要asmJar 包...
分类:编程语言   时间:2014-08-19 15:57:24    阅读次数:171
Spring @Scheduled
Spring@Scheduled是Spring计划任务的一种很简洁的实现。用来替代Quartz的方案。要使用此特性,需要Spring3.2以上版本。用法:1、在xml的配置中,需要加入:http://www.springframework.org/schema/taskhttp://www.springframework.org/schema/task/spring-task-3.2.xsd"2、写一..
分类:编程语言   时间:2014-08-19 11:07:25    阅读次数:171
springbatch操作DB
一、需求分析 使用Spring Batch对DB进行读写操作: 从一个表中读取数据, 然后批量的插入另外一张表中. 二、代码实现 1. 代码结构图: 2. applicationContext.xml <beans xmlns="http://www.springframework.org/schema/beans" xmlns...
分类:数据库   时间:2014-08-15 01:32:46    阅读次数:483
Referenced file contains errors 错误解决方法
Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.0.xsd).? 关于这个错误,导致的原因可能是? 一种可能是? 之前用的Spring版本,和现在用的不同? 对于Eclipse...
分类:其他好文   时间:2014-08-13 19:34:37    阅读次数:331
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!