Stella981 Stella981
4年前
Hibernate Validator 手动发起验证
在SpringBoot开发web项目的时候,表单参数验证,常用 HibernateValidator需要在参数类的属性上添加注解@NotNull(https://my.oschina.net/notnull),@Max(https://my.oschina.net/maxttyl),@Min(https://my.osc
Wesley13 Wesley13
4年前
Java 调用RESTful接口的几种方式
前端一般通过Ajax来调用,后端调用的方式还是挺多的,比如HttpURLConnection,HttpClient,Spring的RestTemplate服务端代码如下:服务端接口请求的URL:http://localhost:8080/rest/user/getUser/xiaoming/18(https://www.oschina.net/a
Stella981 Stella981
4年前
Docker部署SpringBoot项目
SpringBoot项目代码首先构建一个简单的SpringBoot项目,然后给项目添加Docker支持,最后对项目进行部署。在pom.xml中添加SpringBoot依赖,并添加Web支持。<parent<groupIdorg.springfr
Stella981 Stella981
4年前
Arthas 内存说明
1.本地启动后web端访问http://127.0.0.1:3658/2.内存说明dashboard!(https://oscimg.oschina.net/oscnet/up66b8601dfc45922a1781ebe45058e5dfe02.png)heap堆大小ede
Stella981 Stella981
4年前
POST请求的query参数和body参数共存怎么处理?
今天发布一个接口被前端同事咨询怎么传参,特此记录一下:!(https://static.oschina.net/uploads/space/2018/0227/100723_i1oh_999023.png)!(https://static.oschina.net/uploads/space/2018/0227/100808_xNdZ_9990
可莉 可莉
4年前
10个很棒的 JavaScript 字符串技巧
作者:Kai译者:前端小智来源:dev点赞再看,微信搜索【大迁世界】关注这个没有大厂背景,但有着一股向上积极心态人。本文GitHubhttps://github.com/qq44924588...(https://www.oschina.net/action/GoToLink?urlhttps%
Stella981 Stella981
4年前
SonarQube规则之漏洞类型
漏洞类型:1、"@RequestMapping"methodsshouldbe"public"漏洞阻断标注了RequestMapping是controller是处理web请求。既使方法修饰为private,同样也能被外部调用,因为spring通过反射调用方法,没有检查方法可视度,2、
Wesley13 Wesley13
4年前
MySQL5.7版本64位下载及安装详细教程
MySQL教程!在这里插入图片描述(https://imgblog.csdnimg.cn/20201004163131320.jpgpic_center)简介MySQL是最流行的关系型数据库管理系统,在WEB应用方面MySQL是最好的RDBMS(RelationalDatabaseMa
Stella981 Stella981
4年前
280页《前端校招面试真题解析大全》
!(https://uploadimages.jianshu.io/upload_images/249447245020b7a80cad7e36.png?imageMogr2/autoorient/strip%7CimageView2/2/w/1240)前言前端校招面试题主要内容包括html,css,JavaScript,ES6,
Stella981 Stella981
4年前
44个 JavaScript 经典题目详解与总结
!(https://oscimg.oschina.net/oscnet/a703da040f924ae868eb4be26e102a8f384.gif)点击上方蓝色字体,关注我们本文经授权转载自公众“前端大学”!(https://oscimg.oschina.net/oscnet/a4