Spring
028boboliu
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
web分层
Action+Service +Dao三层的功能划分 Action是管理业务(Service)调度和管理跳转的。 Service是管理具体的功能的。 Action只负责管理,而Service负责实施。 DAO只完成增删改查,虽然可以1-n,n-n,1-1关联,模糊、动态、子查询都可以。但是无论多么复杂的查询,dao只是转载 2016-08-30 21:42:45 · 709 阅读 · 0 评论 -
spring mvc /ibetis/jquery 项目结构
1.项目结构如下 2. web.xml custSys wechat contextConfigLocation classpath:applicationContext.xml Initialize the Application Scope Data ApplicationInitializer com.hj.cus原创 2016-10-10 17:14:04 · 596 阅读 · 0 评论 -
spring boot 的项目在idea下报错,错误信息如下:
spring boot 的项目在idea下报错,错误信息如下: java.lang.IllegalStateException: Could not evaluate condition on org.springframework.boot.autoconfigure.PropertyPlaceholderAutoConfiguration#propertySourcesPlaceholder原创 2017-07-28 09:50:19 · 8113 阅读 · 1 评论 -
spring boot & mybatis 集成二
appication . properties. server.port=8081 #db config spring.datasource.driverClassName = com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/ spring.datasource.username= sprin原创 2017-11-10 17:13:41 · 268 阅读 · 0 评论 -
spring boot 添加 拦截器
1. @Configuration public class ApplicationWebAdapter extends WebMvcConfigurerAdapter { @Override public void addArgumentResolvers(List argumentResolvers) { super.addArgumentResolvers(arg原创 2017-11-13 17:40:30 · 371 阅读 · 0 评论 -
快速创建spring boot工程
xml version="1.0" encoding="UTF-8"?> xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://mav原创 2017-11-14 17:07:20 · 277 阅读 · 0 评论 -
spring boot 快速集成 mybatis
server.port=8081 #db config spring.datasource.driverClassName=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/labor_user spring.datasource.username=root spring.datasource.passw原创 2017-11-14 17:08:19 · 308 阅读 · 0 评论
分享