上一页 1 ··· 102 103 104 105 106 107 108 109 110 ··· 204 下一页
摘要: 当运行容器时,使用的镜像如果在本地中不存在,docker 就会自动从 docker 镜像仓库中下载,默认是从 Docker Hub 公共镜像源下载。 获取镜像 如果我们本地没有 ubuntu 镜像,我们可以使用 docker pull 命令来载入 ubuntu 镜像: $ docker pull u 阅读全文
posted @ 2021-08-09 21:34 小白龙白龙马 阅读(169) 评论(0) 推荐(0)
摘要: 安装参考文档:https://www.runoob.com/docker/windows-docker-install.html win7、win8 系统 win7、win8 等需要利用 docker toolbox 来安装,国内可以使用阿里云的镜像来下载,下载地址:http://mirrors.a 阅读全文
posted @ 2021-08-09 21:10 小白龙白龙马 阅读(88) 评论(0) 推荐(0)
摘要: Mybatis介绍# ​ MyBatis 本是apache的一个开源项目iBatis, 2010年这个项目由apache software foundation 迁移到了google code,并且改名为MyBatis 。 2013年11月迁移到Github。MyBatis是一个优秀的持久层框架,它 阅读全文
posted @ 2021-08-08 17:16 小白龙白龙马 阅读(100) 评论(0) 推荐(0)
摘要: 控制器: package com.awaimai.web; import org.hibernate.validator.constraints.Range; import org.springframework.stereotype.Controller; import org.springfra 阅读全文
posted @ 2021-08-08 16:35 小白龙白龙马 阅读(53) 评论(0) 推荐(0)
摘要: 将文件上传到服务器上: 上传html: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <form name="Form2" action="http 阅读全文
posted @ 2021-08-08 15:51 小白龙白龙马 阅读(48) 评论(0) 推荐(0)
摘要: 说明与作用 @RequestHeader注解的作用是从请求中获取某个请求头的值,并赋值给方法形参。 @CookieValue注解的作用是从请求中获取某个Value的值,并赋值给方法形参。 控制器: package com.awaimai.web; import org.hibernate.valid 阅读全文
posted @ 2021-08-08 14:31 小白龙白龙马 阅读(138) 评论(0) 推荐(0)
摘要: 控制器: package com.awaimai.web; import org.hibernate.validator.constraints.Range; import org.springframework.stereotype.Controller; import org.springfra 阅读全文
posted @ 2021-08-08 13:49 小白龙白龙马 阅读(85) 评论(0) 推荐(0)
摘要: /** * 多个对象校验 * @param user * @param bindingResult */ @RequestMapping("/user/saveAll") public void saveAll(@Validated User user, BindingResult bindingR 阅读全文
posted @ 2021-08-08 12:29 小白龙白龙马 阅读(111) 评论(0) 推荐(0)
摘要: 控制器: package com.awaimai.web; import org.springframework.stereotype.Controller; import org.springframework.validation.BindingResult; import org.spring 阅读全文
posted @ 2021-08-08 11:49 小白龙白龙马 阅读(132) 评论(0) 推荐(0)
摘要: 控制器: package com.awaimai.web; import com.alibaba.fastjson.JSONObject; import org.hibernate.validator.constraints.*; import org.springframework.stereot 阅读全文
posted @ 2021-08-07 17:19 小白龙白龙马 阅读(102) 评论(0) 推荐(0)
上一页 1 ··· 102 103 104 105 106 107 108 109 110 ··· 204 下一页