![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Springboot
GoCZ
最帅的男人
展开
-
Springboot核心配置
application.propertiesjdbc.driverClassName=com.mysql.jdbc.Driverjdbc.url=jdbc:mysql://127.0.0.1:3306/czjdbc.username=rootjdbc.password=rootJdbcConfigurationpackage com.baidu.conf;import com.a...原创 2019-08-20 16:48:07 · 89 阅读 · 0 评论 -
整合springMVC自定义拦截器
package com.baidu.intercptor;import org.springframework.stereotype.Component;import org.springframework.web.servlet.HandlerInterceptor;import org.springframework.web.servlet.ModelAndView;import ...原创 2019-08-20 20:02:49 · 281 阅读 · 0 评论 -
idea找不到或无法加载主类问题解决
情况一:idea本身缓存的问题:IDEA-》file-》invalidate Cache/restart;情况二:查看structure→modules,其中会包含很多的main,删除掉就行原创 2019-08-21 20:36:31 · 356 阅读 · 0 评论 -
http GET 和 POST 请求的优缺点、区别以及误区
Get和Post在面试中一般都会问到,一般的区别:(1)post更安全(不会作为url的一部分,不会被缓存、保存在服务器日志、以及浏览器浏览记录中)(2)post发送的数据更大(get有url长度限制)(3)post能发送更多的数据类型(get只能发送ASCII字符)(4)post比get慢(5)post用于修改和写入数据,get一般用于搜索排序和筛选之类的操作(淘宝,支付宝的搜索查询都...转载 2019-09-10 20:49:09 · 171 阅读 · 0 评论