会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
谷先生
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
8
下一页
2021年8月
git操作
摘要: git上传 $git clone *******.git 1、在github上创建项目 2、使用git clone https://github.com/xxxxxxx/xxxxx.git克隆到本地 3、编辑项目 4、git add . (将改动添加到暂存区) 5、git commit -m "提交
阅读全文
posted @ 2021-08-16 22:15 谷先生
阅读(31)
评论(0)
推荐(0)
2021年5月
分页插件问题(1)
摘要: @RequestMapping("select") @ResponseBody public Map select(int page,@RequestParam("limit") int Size){ PageInfo<City> pi = cs.selectAll(page, Size); Map
阅读全文
posted @ 2021-05-26 16:46 谷先生
阅读(37)
评论(0)
推荐(0)
2021年4月
简单的Spring配置
摘要: 1.配置spring 2.建立目录 3.编写dao.impl.UserDaoImpl package com.bao.test.dao.impl; import com.bao.test.dao.UserDao; import org.springframework.stereotype.Contr
阅读全文
posted @ 2021-04-22 10:46 谷先生
阅读(109)
评论(0)
推荐(0)
mapper(StudentDao)
摘要: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <m
阅读全文
posted @ 2021-04-15 11:28 谷先生
阅读(93)
评论(0)
推荐(0)
freemarker模板引擎的各种显示
摘要: <!-- freemarker https://mvnrepository.com/artifact/org.freemarker/freemarker --> <dependency> <groupId>org.freemarker</groupId> <artifactId>freemarker
阅读全文
posted @ 2021-04-13 20:16 谷先生
阅读(217)
评论(0)
推荐(0)
@Autowired的作用
摘要: @Autowired的用法和作用这个注解就是spring可以自动帮你把bean里面引用的对象的setter/getter方法省略,它会自动帮你set/get。 <bean id="userDao" class="..."/> <bean id="userService" class="..."> <
阅读全文
posted @ 2021-04-07 11:47 谷先生
阅读(1031)
评论(0)
推荐(0)
Controller(控制器)、@RequestMapping、@ResponseBody、@GetMapping、的使用
摘要: package gu.bao.ls.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.
阅读全文
posted @ 2021-04-06 15:32 谷先生
阅读(666)
评论(0)
推荐(0)
2021年3月
spring概述
摘要:
阅读全文
posted @ 2021-03-15 21:58 谷先生
阅读(33)
评论(0)
推荐(0)
内部类
摘要: 就是类里面的类 使用内部类 public class neibu { public static void main(String[] args) { /** *如何实例化成员内部类 */ //创建实例(静态德成员内部类) Person.gou go =new Person.gou(); go.ch
阅读全文
posted @ 2021-03-11 21:58 谷先生
阅读(55)
评论(0)
推荐(0)
(final) 接口
摘要: java中的final关键字的作用:1、用来修饰一个引用;2、用来修饰一个方法;3、用来修饰类。当final修饰方法时,这个方法会成为最终方法,无法被子类重写。 java中的final关键字的作用: 1、用来修饰一个引用; 2、用来修饰一个方法; 3、用来修饰类。 当final修饰方法时,这个方法会
阅读全文
posted @ 2021-03-11 11:15 谷先生
阅读(348)
评论(0)
推荐(0)
1
2
3
4
5
···
8
下一页
公告