码迷,mamicode.com
首页 >  
搜索关键字:springframework    ( 4755个结果
springmvc 4.x 处理json 数据时中文乱码
原因: springmvc在处理请求时,默认采用的是 ISO-8859-1 编码格式,具体原因不了解,个人觉得是还没有来得及更改,所以在处理一些json格式的时候,会出现中文乱码。 org.springframework.http.converter...
分类:编程语言   时间:2014-09-19 19:48:26    阅读次数:176
Spring 报错记录1
2014-09-19 15:38:17,615 DEBUG [org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping] - Rejected bean name 'org.springframework.web.servlet.handler.MappedInterceptor#0': no URL paths ident...
分类:编程语言   时间:2014-09-19 17:46:25    阅读次数:315
spring jdbc 事务配置----TransactionTemplate使用
1、在配置文件中配置 <bean id="transactionManager" class="org.springframework.jdbc.datasource.Dat...
分类:数据库   时间:2014-09-19 17:41:25    阅读次数:522
Linux下Mysql的表名大小写敏感引起数据库操作失败
今天处理了一个奇怪的问题,现象如下:1、 Linux下安装了Mysql,导入数据库表,一切正常;2、 Spring+Myibatis连接数据库正常;3、 当执行数据库查询的时候,抛出如下异常:org.springframework.jdbc.BadSqlGrammarException:### Er...
分类:数据库   时间:2014-09-18 14:38:53    阅读次数:191
ssh框架从页面传中文发生乱码时怎么解决,就是添加一个字符编码拦截器。用springframework自带的便可
ssh框架从页面传中文发生乱码时怎么解决,就是添加一个字符编码拦截器。用springframework自带的便可
分类:编程语言   时间:2014-09-17 10:02:21    阅读次数:186
Linux中Hibernate连接不上MySql,但是在外网都能访问
题描述 在Linux上使用Spring+Hibernate+dbcp连接本机上的MySQL时,出现异常: [ERROR][2014-09-1614:00:59,343][com.ocyd.jeecgframework.core.common.exception.MyExceptionHandler]org.springframework.transaction.CannotCreateTran...
分类:数据库   时间:2014-09-16 19:03:20    阅读次数:457
通配符的匹配很全面, 但无法找到元素 ‘mvc:resources‘ 的声明
同理 org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:?Line?52?in?XML?document?from?class?path?resource?[bean.xml]?is?invalid;?nested?exception?is?org.xml.sax.S...
分类:Web程序   时间:2014-09-16 16:14:00    阅读次数:859
quartz实例以及主要事项(注解)
实现任务类:package com.vnetoo.nec.base.quartz;import org.springframework.context.annotation.Lazy;import org.springframework.scheduling.annotation.Scheduled...
分类:其他好文   时间:2014-09-16 12:33:50    阅读次数:339
一个service管理多个service
global.dao.dbcp.xml: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx...
分类:其他好文   时间:2014-09-15 17:56:09    阅读次数:254
装配Bean
1、创建Spring配置 在XML文件中声明Bean时,Spring配置文件的根元素来源于Spring beans命名空 间所定义的元素。以下为一个典型的Spring XML配置文件: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema...
分类:其他好文   时间:2014-09-15 11:19:48    阅读次数:228
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!