码迷,mamicode.com
首页 >  
搜索关键字:springframework    ( 4755个结果
Connections could not be acquired from the underlying database
严重: StandardWrapper.Throwableorg.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: Connections co...
分类:数据库   时间:2014-12-27 17:36:41    阅读次数:324
SpringMVC入门学习(二)应用注解方式+注解优化
前篇已经介绍使用SpringMVC的方式进行环境搭建,以及一个简单的demo测试,下面我们再来介绍一下使用注解的方式,如何实现。   添加配置文件   springAnnotation-servlet.xml --> web.xml SpringMVC org.springframework....
分类:编程语言   时间:2014-12-26 23:00:53    阅读次数:237
JodaTime library not available - @DateTimeFormat not supported
使用spring的@DateTimeFormat来格式化Date类型时,报错:org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 error...
分类:其他好文   时间:2014-12-26 14:19:22    阅读次数:597
spring-mvc 与jquery-easyui-layout整合
开发环境 spring-webmvc-4.0.8.RELEASE Jquery-easyui-1.4.0 以上是在整合layout页面所用的各自版本号。 配置 Spring-mvc.xml配置 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:context=...
分类:编程语言   时间:2014-12-26 06:14:31    阅读次数:417
Spring AOP annotation 错误
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in class path resource [applicationContex...
分类:编程语言   时间:2014-12-26 06:06:16    阅读次数:307
EasyUI + SpringMVC 解决静态资源访问
我们的项目用的是EasyUI+SpringMVC+EJB+JPA,分享一下项目中遇到的一些问题及其解决方法。前台用的EasyUI,页面中引入了easyUI的js与css(引入路径正确),但是无论如何都显示不出来,如下图: EasyUI的样式没有,看控制台:警告,找不到 21:26:25,643 WARN [org.springframework.web.servlet.PageNotF...
分类:编程语言   时间:2014-12-25 23:46:21    阅读次数:486
Spring MVC 配置文件dispatcher-servlet.xml 文件详解
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:context="http://www.springframework.org/schema/context" xmln...
分类:编程语言   时间:2014-12-25 16:32:00    阅读次数:416
Spring中拦截/和拦截/*的区别
在基于Spring MVC的Application中,需要在web.xml中增加下面类似的配置信息: servlet> servlet-name>servletNameservlet-name> servlet-class> org.springframework.web.servlet.DispatcherServlet servlet-class> load-on-...
分类:编程语言   时间:2014-12-25 16:24:29    阅读次数:161
spring mvc静态文件访问
当web.xml文件中如下配置时,spring mvc会无法访问静态资源文件     配置spring mvc 的核心servlet -->     servlet>         servlet-name>springservlet-name>         servlet-class>org.springframework.web.servlet.Dispatch...
分类:编程语言   时间:2014-12-24 22:48:52    阅读次数:160
Spring 配置文件XML中<beans>中属性概述
[html] view plaincopy beans xmlns="http://www.springframework.org/schema/beans"          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"          xsi:schemaLocation="http://www....
分类:编程语言   时间:2014-12-24 18:06:21    阅读次数:437
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!