[Java from 0 to architect, Java selected interview Spring family bucket
form file upload - front end, background and real-time preview
If you want to support file upload, you must set two properties:
method="post" enctype="multipart/form-data" Once this item is set in the form, the Java background cannot pass request Getparameter get parameter
Commonly used in Java background commons-fileupload To receiv ...
Added by cjliu42 on Tue, 21 Dec 2021 20:08:22 +0200
Java data structure Lecture 2 - array / linked list
Common data structures and algorithm implementation (sorting / searching / array / linked list / stack / queue / tree / recursion / massive data processing / graph / bitmap / Java data structure)
As the basic skills of programmers, data structures and algorithms must be studied steadily. The bottom layer of our common framework is all kinds ...
Added by packland on Tue, 21 Dec 2021 19:17:02 +0200
Sword finger offer notes (14), Turing Java Architect vip video
[1, 2, 3, 4, 5, 6]
2
Note that 2 here represents a node numbered 2, and the node number starts from 0. Therefore, the node with number 2 is the node with val equal to 3.
Then the inlet node of the output ring is 3
**thinking**
**(Linked list, fast and slow pointer scanning)** O ( n ) O(n) O(n)
The method of this question is ingenio ...
Added by BillBillJr on Tue, 21 Dec 2021 15:37:32 +0200
Thread start () - how does it enable threads to start? Where is the future of Java
registerNatives, the local method is defined in thread C, the following is the core source code of the definition:
static JNINativeMethod methods[] = {
{"start0", "()V", (void *)&JVM_StartThread},
{"stop0", "(" OBJ ")V", (void *)&JVM_StopThread},
{"isAlive", "()Z", (void *)&J ...
Added by fncuis on Tue, 21 Dec 2021 15:03:04 +0200
Log4j configuration and use details, introduction to Java development tutorial
Log level and priority in Log4j: all < debug < info < warn < error < fatal < off. By defining the level of each log information, we can more carefully control the log generation process.
log4j.properties configuration file:
# Global logging configuration
# Set the log output level and output destination. You can set multip ...
Added by coolispaul on Tue, 21 Dec 2021 12:26:04 +0200
"Sword finger offer" brush question notes, Java intermediate written test questions Baidu Library
Output: true
### []( https://codechina.csdn.net/m0_60958482/java-p7 )**Train of thought**
**(dynamic programming)** O ( n m ) O(nm) O(nm)
Status indication:`f[i][j]`express p from j From beginning to end, can you match s from i Start to end
State transition:
1. If`p[j+1]`Not a wildcard`'*'`,be`f[i][j]`True if and only if`s[i]` ...
Added by rpmorrow on Tue, 21 Dec 2021 07:12:31 +0200
Java explanation: how to implement a redis cache service and publish it exclusively
Why cache? In the final analysis, it is to improve the running speed of the system. Store the content frequently accessed by users in the place closest to the user and with the fastest access speed, so as to improve the response speed of users. The simple structure of a web application is shown in the figure below.
Typical architecture of we ...
Added by dcj1978 on Tue, 21 Dec 2021 05:52:38 +0200
Zero foundation, 2021 latest Tencent Java interview sharing
In MySQL, only databases or tables that use the Innodb database engine support transactions. Transaction processing can be used to maintain the integrity of the database and ensure that batch SQL statements are either executed or not executed. Transactions are used to manage insert, update and delete statements
Generally speaking, transact ...
Added by missyevil on Tue, 21 Dec 2021 04:03:54 +0200
There are three methods for Springboot to process CORS cross domain requests. Java intermediate interview contains answers
First give a familiar error reporting information to make you feel at home~
Access to XMLHttpRequest at 'http://192.168.1.1:8080/app/easypoi/importExcelFile' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
1, What is CORS?
==========
CORS is ...
Added by opticmike on Tue, 21 Dec 2021 03:22:55 +0200
Java interview Dictionary (2020 Edition), Tencent Java school recruitment interview
24. Tell me about the implementation principle of HashSet?
The bottom layer of HashSet is implemented by HashMap The value of HashSet is stored on the key of HashMap The value of HashMap is unified as PRESENT
25. What is the difference between ArrayList and LinkedList?
The most obvious difference is that the underlying data structure of ...
Added by orbitalnets on Mon, 20 Dec 2021 15:56:16 +0200