Java Web 64. jsp 和 servlet 有什么区别? jsp经编译后就变成了Servlet.(JSP的本质就是Servlet,JVM只能识别java的类,不能识别JSP的代码,Web容器将JSP的代码编译成JVM能够识别的java类) jsp更擅长表现于页面显示,servlet更擅长于 ...
分类:
编程语言 时间:
2019-10-03 23:51:28
阅读次数:
112
You have a given picture with size w×hw×h. Determine if the given picture has a single "+" shape or not. A "+" shape is described below: A "+" shape h ...
分类:
其他好文 时间:
2019-10-03 00:31:56
阅读次数:
120
仔细想了想。。没必要重复造轮子。 每天复习啥了就直接CTRL CV了 https://gitee.com/SnailClimb/JavaGuide/blob/master/docs/system design/framework/spring/Spring Design Patterns.md 控制 ...
分类:
编程语言 时间:
2019-09-30 20:17:26
阅读次数:
125
flume 三大组件 source 收集 channel 聚集 sink 输出 使用Flume关键就是写配置文件 A 配置source B 配置channel C 配置sink D 把以上3个组件串起来 1.通过IP端口 接收数据 启动agent flume-ng agent \ --name a1 ...
分类:
Web程序 时间:
2019-09-28 23:11:36
阅读次数:
122
//点击导航铆钉到指定位置 goDetails(index) { this.current = index; let height = Number(this.$refs['navleft'].offsetHeight)// 导航的高度 let toTop = this.$refs.single[i... ...
分类:
其他好文 时间:
2019-09-28 12:51:04
阅读次数:
201
题目链接 :http://acm.hdu.edu.cn/showproblem.php?pid=1506 Problem Description A histogram is a polygon composed of a sequence of rectangles aligned at a co ...
分类:
其他好文 时间:
2019-09-28 12:43:03
阅读次数:
68
关于什么是好代码,软件行业烂大街的名词一大堆,什么高内聚、低耦合、可复用、可扩展、健壮性等等。也有所谓设计6原则—SOLID: 即Single Responsibility (单一职责),Open Close(开闭),Liskov Substitution(里氏替换),Interface Segre ...
分类:
其他好文 时间:
2019-09-27 22:50:20
阅读次数:
132
I am writing this blog , as i faced issue on installing SAP system on oracle RAC with ASM. When i raised a message with SAP , SAP told me to install S ...
分类:
数据库 时间:
2019-09-27 19:39:47
阅读次数:
159
Pre-Upgrade Upgrade path: Windows Server 2016 can be upgraded to Windows 2019 in a single upgrade process. Support: In-place Upgrade is supported for ...
Given a non-empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runti ...
分类:
编程语言 时间:
2019-09-23 12:23:43
阅读次数:
118