First, open Tomcat / conf / server XML file, search Executor name = "tomcatThreadPool", open and adjust to:
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-" maxThreads="500" minSpareThreads="20" maxSpareThreads="50" maxIdleTime="60000"/>
Then, modify the < connector... > node, add the executo ...
Added by Sinikka on Thu, 10 Mar 2022 06:14:07 +0200
Our SpringBoot project relies on Dubbo, RocketMQ, Nacos, etc. occasionally one day, we found that we didn't register with SpringBootAdmin after startup, so we checked the reasons, searched online and found this article The springboot project starts and runs normally, but the port cannot listen for events and solutions The situation is ...
Added by apulmca2k4 on Mon, 07 Mar 2022 20:33:16 +0200
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
We know that http is a stateless protocol, that is, for server applications, two http requests are independent of each other. You don't know me, I don't know you.
Then the problem comes. For example, when shopping on an e-commerce website, you need to browse the goods, add the goods to the shopping cart, and place an order for ...
Added by smudge on Fri, 04 Mar 2022 20:45:38 +0200
1. Basic concepts
html cssProvide it to everyone to see that the data will never change Dynamic web
Taobao is almost all websites The data provided to everyone will change, and everyone will see different information at different times and places Stack technology; Servlet/JSP ,ASP,PHP,
Added by baldwinw on Fri, 04 Mar 2022 13:15:22 +0200
Since the videos in Silicon Valley are made by Eclipse software, some of which are different from IDEA, I'm here to share with you the differences between IDEA and Eclipse's operation, the source code involved in the operation (slightly different from the source code of the video), and the various problems you may encounter. These sources are t ...
Added by MmmVomit on Thu, 03 Mar 2022 20:16:45 +0200
After reading some articles on the Internet, I feel that it is too theoretical. Now let's briefly talk about the life cycle of Servlet, and then verify it with code.
When the browser accesses the server, the server parses the url. If the browser does not want static resources, the server accesses the corresponding Servlet according to the URI. ...
Added by ginoitalo on Thu, 24 Feb 2022 17:38:24 +0200
1. Brief introduction
2. Principle explanation
3. The code is as follows (including comments)
3.1 obtain DiskFileItemFactory object
Get fileservlet2.3 object
3.3 uploading files
4. Operation results
1. Brief introduction
In a web project, it is very common for users to upload files to the project, such as a ...
Added by Pantho on Wed, 23 Feb 2022 15:49:45 +0200
Deal with data submission and garbled code1. Data processing
1. Processing submitted data2. Data display to the front end 2. Garbled code
2.1 use spring MVC's own filter2.2 custom filters
Deal with data submission and garbled code
1. Data processing
1. Processing submitted data
The domain name of the submitted data ...
Added by slibob on Mon, 21 Feb 2022 13:08:55 +0200
This article is used to understand the specific implementation of tomcat written by teachers
After learning the basics of java, I looked directly at this video. I looked at it very well in the front. I was blinded when I saw the teacher writing this tomcat. First, I spent two days to re learn the knowledge of IO flow ...
Added by inVINCEable on Fri, 18 Feb 2022 13:38:25 +0200