Necessary Spring framework learning notes for beginners

Spring is a widely used framework in the process of Java Web development. It is a lightweight application framework. Its powerful function and excellent performance are loved by many developers.In the actual project development process, the server is divided into three layers: presentation layer (Web), business logic layer (Service) and persist ...

Posted by ditusade on Wed, 16 Feb 2022 09:24:33 +0100

[loophole recurrence] Tomcat CVE-2017-12615 (arbitrary file upload vulnerability)

preface This article is only for security research and skill learning. It should not be used for unauthorized penetration attacks. Any consequences have nothing to do with the author of this article. 1, Vulnerability description However, the vulnerable Tomcat runs on the Windows/Linux host, and the HTTP PUT request method is enabl ...

Posted by drdapoo on Wed, 16 Feb 2022 08:29:08 +0100

Java object oriented

object-oriented object-oriented programming Essence: organize code in the form of classes and organize (encapsulate) data with objects. Characteristics: encapsulation, inheritance, polymorphism. method break: jump out of the switch and end the loop Return: end the method. The result has been returned. The return value and return value type a ...

Posted by dvdflashbacks on Wed, 16 Feb 2022 08:25:57 +0100

MySQL database - detailed explanation of five objects (Java)

catalogue 1, DriverManager: drive management object 1. Register driver: tell the program which database driver jar to use 2. Get database connection: 2, Connection: database connection object 1. Get the object executing sql 2. Management services: 3, Statement: object to execute sql 1,boolean execute(String sql) : 2,int executeUpdate( ...

Posted by zuzupus on Wed, 16 Feb 2022 06:04:45 +0100

Interviewer: with the for loop, why forEach??

Author: technical straight male star\Source: Juejin cn/post/7018097650687803422js, for in for... Of forEach, some loops feel similar. Today, let's discuss the differences between for loops and forEach. We discuss from several dimensions:The essential difference between for loop and forEach.The syntax difference between for loop and forEach.The ...

Posted by AliceH on Wed, 16 Feb 2022 05:07:23 +0100

Daily learning - Java design principles (Day4) - opening and closing principles

We must put forward such tasks for ourselves: first, learning, second, learning, and third, learning. There is never a shortcut to learning. You can reach the peak step by step. Some of the notes come from the video teaching of design mode in Silicon Valley. 1, Basic introduction Open Closed Principle is the most basic and important ...

Posted by rolwong on Wed, 16 Feb 2022 04:21:50 +0100

Crazy God says JavaWeb notes 01

JavaWeb (crazy God says Java) Java Web 1. Basic concepts 1.1 Preface web development: Web is the meaning of web page development, which means that we can get resources from the web page www.baidu.com com Static web html css The data provided to everyone will never change Dynamic web Taobao, almost all websites are dynamic ...

Posted by bhavin12300 on Wed, 16 Feb 2022 01:18:16 +0100

Sequential list and linked list

1, Linear table Linear table: when data is stored, it is stored continuously according to logic and forms a linear structure (feature: all have the concept of index, and the elements with smaller index must be logically arranged before the elements with larger index) Linear list subset: sequential list, linked list, stack, queue, string ...

Posted by rsasalm on Tue, 15 Feb 2022 13:20:42 +0100

[java] ThreadLocal memory leak code demonstration example

1. General Reprint: ThreadLocal memory leak code demonstration example demonstration First look at the article: Cause analysis of ThreadLocal memory leak Related articles: [high concurrency] ThreadLocal, InheritableThreadLocal [Java] introduction and source code of ThreadLocal in Java 2. Cases 2.1 do not use ThreadLocal The following ...

Posted by Myss on Tue, 15 Feb 2022 12:42:57 +0100

Trap of deleting elements in Java List

When a List deletes an element, the first reaction is often a for loop, which calls List based on the if condition Remove (I) or List Remove (object) to remove the elements on the collection. public static void main(String[] args) { List<String> list = new ArrayList(2) { { add("a"); add("b"); } ...

Posted by dunn_cann on Tue, 15 Feb 2022 11:55:21 +0100