Build a project with maven and configure tomcat to run a servlet

1. Use idea to create an empty maven project and delete the src folder in it, because in the later stage, each module will be established under the new project, and the original src folder is not required. 2. Under the general project, maven is used to introduce the jar package of servlet and jsp, which can be found in( https://mvnrepository.co ...

Added by Reformed on Sat, 05 Mar 2022 07:37:27 +0200

Microservice notes 01

Draft, need post-processing 01. Micro service architecture What is micro service? Microservice architecture is an architecture model. It advocates dividing a single application into a group of small services, which coordinate and cooperate with each other to provide final value for users. Each service runs in its own independent process ...

Added by Brit on Sat, 05 Mar 2022 07:35:07 +0200

Preliminary notes on java learning_ three

01 array introduction Introduction: array is a container that can store multiple values of the same data type. It is a continuous memory space opened up in memory int[] arr = {10,20,'a'}; System.out.println(arr[2]); // 97 double arr = {10,20,30}; System.out.println(arr[0]); // 10.0 ----------------------------------------------- prop ...

Added by mike12255 on Sat, 05 Mar 2022 07:05:22 +0200

Detailed explanation of Java concurrency conditions

1, Introduction 1. What is a Condition Any Java Object has a set of monitor methods (defined on java.lang.Object), mainly including wait(), wait(long timeout), notify() and notifyAll() methods. These methods cooperate with the synchronized synchronization keyword to realize the wait / notification mode. The Condition interface also provide ...

Added by MitchEvans on Sat, 05 Mar 2022 06:42:03 +0200

LeetCode longest special sequence I & II

LeetCode 521 longest special sequence I subject LeetCode 521 longest special sequence I Method: brain sharp turn The length of the subsequence of a string will not exceed the length of the string. If the length of the subsequence is equal to the length of the string, the subsequence is the string. If the two strings are the same ...

Added by vinaip on Sat, 05 Mar 2022 06:32:24 +0200

Springboot global exception handling

Springboot global exception handling 1, The default exception handling mechanism of Spring Boot By default, springboot provides two corresponding methods: ① the browser request header is Accept: text/html, and springboot will default to an html document content, which is "Whitelabel Error Page"; ② The Json format string information ...

Added by vikramjeet.singla on Sat, 05 Mar 2022 05:56:35 +0200

RN(React Native) Android 64 bit apk interface is stuck

RN Android 64 bit apk interface stuck Problem description The program developed by Rn is packaged with Anroid 64apk. After accessing the pangolin advertisement, start the application and operate for a period of time, and the interface will be stuck, Specifically, the embedded webview can click and slide, and the native interface can slide up ...

Added by kbascombe on Sat, 05 Mar 2022 05:50:01 +0200

Java project is divided into modules and jar packages

During this time, I received a task, which is to jar the project according to the module. The purpose is: 1. Package according to modules to facilitate upgrading 2. After the module is subcontracted, which module is modified, update the corresponding module separately. There is no need to worry about the abnormal operation of the project due ...

Added by lances on Sat, 05 Mar 2022 05:41:15 +0200

The longest non repeating character substring, the longest common substring and the longest common substring in Java

1. Longest substring without repeated characters (stress deduction 3) Given a string s, please find the length of the longest substring that does not contain duplicate characters. Example 1: input: s = "abcabcbb" output: 3 explain: Because the longest substring without duplicate characters is "abc",So its length is 3. You can use "s ...

Added by phpfre@k* on Sat, 05 Mar 2022 05:25:02 +0200

JQuery usage and explanation of jQuery writing method of ajax

jQuery is a JavaScript library across mainstream browsers, which encapsulates JavaScript related method calls and simplifies JavaScript operation on HTML DOM dom object and jquery object dom object Objects created using javascript syntax are called dom objects, or js objects. var obj=document.getElementById("txt1"); Obj is a dom objec ...

Added by jpschwartz on Sat, 05 Mar 2022 04:46:47 +0200