请求响应流程图 response response是Servlet.service方法的一个参数,类型为javax.servlet.http.HttpServletResponse。在客户端发出每个请求时,服务器都会创建一个response对象,并传入给Servlet.service()方法。res ...
分类:
其他好文 时间:
2019-03-21 01:15:28
阅读次数:
190
``` //全局捕获异常对basePackages的包生效 @ControllerAdvice(basePackages = "com.wld.controller") public class GlobalExpectionHandler(){ //@ExceptionHandler(Runtim... ...
分类:
编程语言 时间:
2019-03-21 01:02:33
阅读次数:
185
mapred-site.xml <property> <name>mapreduce.framework.name</name> <value>yarn</value> </property> yarn-site.xml <property> <name>yarn.nodemanager.aux-s ...
分类:
其他好文 时间:
2019-03-21 00:50:19
阅读次数:
154
pandas可以对数据进行整理分析 因为要对excel中的源数据进行分组和处理,所以想到用pandas来处理。试用过确实比自己去读写快捷很多 (实际pandas底层也是用xlrd,xlwt两个第三方包来读取Excel和写文件到Excel中) 一、pandas处理的数据结构介绍 1、series结构 ...
分类:
其他好文 时间:
2019-03-20 22:16:23
阅读次数:
234
77. Combinations Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. Example: ...
分类:
其他好文 时间:
2019-03-20 22:11:09
阅读次数:
140
public class Result<T> { private Status status; private T data; public Result() { } public Result(Status status) { this.status = status; } public Resu ...
分类:
其他好文 时间:
2019-03-20 20:31:24
阅读次数:
149
解决Linux下普通用户无法使用root连接MySQL服务
分类:
数据库 时间:
2019-03-20 17:38:12
阅读次数:
246
在main.xml中使用DrawerLayout,它允许在布局中放入两个直接子控件,第一个是主屏幕显示内容,第二个是滑动屏幕显示内容 此时滑动菜单就可以显示了,但有时用户不知道滑动菜单的存在,所以我们在标题栏中在加入一个图标以供用户点击 MainActivity中的代码 ...
分类:
其他好文 时间:
2019-03-20 17:29:36
阅读次数:
152
While creating Xamarin.Forms applications, definitely you are going to need TapGestureRecognizer often. Implementing it in XAML many times may end up ...
分类:
其他好文 时间:
2019-03-20 15:57:48
阅读次数:
146
执行原生SQL: 1 from django.db import connection, connections 2 cursor = connection.cursor() 3 cursor.execute( 4 """select * from tb""",[user.nid, ]) 5 res ...
分类:
其他好文 时间:
2019-03-20 15:51:06
阅读次数:
122