Java
-
JSP Foundation
1. Pass data from servlet to JSP: In servlet: RequestDispatcher req = request. getRequestDispatcher("NewFile.jsp"); St…… -
Thread control
1、 Thread sleep Method used: public static void sleep (long millis): let the executing thread sleep for millis Public…… -
Multithreading overview
1、 JVM thread dependent When the JVM is started, a process will be started, which will start a thread. The JVM startu…… -
List of Java collection framework
1、 List: 1. Unique common methods: (one common feature is that corner markers can be operated) (1) , add Void add (in…… -
-
JSTL tag library
1. JSTL depends on El. To use JSTL, you need to import the jar package of JSTL. JSTL has four libraries: Core: core li…… -
Map of Java collection framework
Map: Add a pair of elements at a time (key - > value) Two column set, key value pair Common methods: 1. Add V put (…… -
JUnit 4 uses
1. Import junit4jar package: In eclipse, right-click bulid path on the project, then click Add libraries, and select J…… -
JUnit 4 uses
1. Import junit4jar package: In eclipse, right-click bulid path on the project, then click Add libraries, and select J…… -
IO streams – Overview
I Abstract classes InputStream and OutputStream form the basis of IO classes Because byte stream oriented objects are …… -
Java static proxy and dynamic proxy
Original link: http://www.orlion.ga/207/ 1、 Agent mode Proxy pattern is a frequently used design pattern. Proxy patte…… -
IO stream – text \ read / write binary data
Text IO 1、 Brief description The outputstreamwriter class uses the selected encoding method to convert the Unicode ch…… -
Servlet lifecycle
1、 Architecture diagram Servlet execution process: Step 1: the HTTP request is delegated to the servlet container by …… -
IO stream zip document
Zipinputstream is usually used in Java to read zip documents Zip documents (usually) store one or more files in a comp…… -
Java transformation
Including upward transformation and downward transformation Upward transformation @ h_ 301_ 6@ -
-
How to quickly create millions of test data
scene During SQL optimization or query performance test, we need a lot of data test to simulate. At this time, a probl…… -
A large number of GCs in the company’s online virtual machines have led to a surge in STW and CPU — a process of cocooning and positioning
background There is a Tomcat service on the company's online, in which about 8 microservices are merged and deployed. …… -
-
-
Do not rely too much on the expired monitoring of redis!!
Redis expired monitoring scenario In business, there is a need to wait for a certain time to execute a certain behavio…… -
This is an article from Alibaba’s internal technology forum
This is an article from Alibaba's internal technology forum. The original text has been unanimously praised by Alibaba…… -
-
-
-
-
Java access rights
public Classes in the same package or in different packages can be accessed freely private Can only be used in this cl…… -
-
-
-
Java package
Prevent class name duplication Package name naming rules The full name of a class "Package name" + ". +" Class name Co…… -
DDMS files not found: xxx\hprof-conv.exe
The following error occurred: terms of settlement: Copy hprof-conv.exe in Android SDK \ Tools Directory to sandroid SD……