08 08Struts 2.x file upload

Article catalog 1 Basic upload 2 further operation of upload 3 upload restrictions If your code is developed with standard MVC, it is highly recommended to use SmartUpload. However, if your project code is developed with framework, such as Struts 1.x, Struts 2.x, and Spring MVC, you can only use F ...

Posted by nonexistence on Sun, 28 Jun 2020 06:52:44 +0200

Spring boot principle: the starting principle of source code analysis

catalog 1, Introduction to spring boot analysis 2, Spring boot annotations to be covered 1.@SpringBootApplication 2.@SpringBootConfiguration 3.@EnableAutoConfiguration 4.@AutoConfigurationPackage 5. Some annotations in the xxxautoconfiguration class 3, Spring application initialization proces ...

Posted by aseaofflames on Mon, 22 Jun 2020 10:48:12 +0200

hualinux servlet 2.13: ServletRequest interface and its sub interface

catalog 1, Knowledge points 2, Examples 2.1 example 1 obtaining request parameters 2.1.1 code 2.1.2 test results 2.2 example 2 returns the string array corresponding to the request parameter according to the name of the request parameter 2.2.1 in index.jsp Write form 2.2.2 modification Login. ...

Posted by chedong on Thu, 18 Jun 2020 06:37:31 +0200

In depth spring boot annotation principle and use

The main configuration class of SpringBoot @SpringBootApplication public class StartEurekaApplication { public static void main(String[] args) { SpringApplication.run(StartEurekaApplication.class, args); } } Click @SpringBootApplication to see that @SpringBootApplication is a comp ...

Posted by sqlnoob on Tue, 16 Jun 2020 10:43:45 +0200

Server is implanted into Trojan horse, CPU soars 200%

Author: my name is Liu Banxianhttps://my.oschina.net/liughDevelop/blog/1786631 The online server uses a certain cloud, running the Tomcat, MySQL, MongoDB, ActiveMQ and other programs happily and perfectly. Suddenly a bad news came from the front: the website can't be accessed! I am in charge of this project. I immediately opened the server at ...

Posted by WeAnswer.IT on Fri, 12 Jun 2020 05:43:47 +0200

Install JDK and Tomcat on Linux (CentOS7.2)

1. Download related software JDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Tomcat: http://mirrors.shuosc.org/apache/tomcat/tomcat-9/v9.0.2/bin/apache-tomcat-9.0.2.tar.gz 2. Install and configure JDK [root@JDK-Tomcat ~]# rpm -ivh jdk-8u151-linux-x64.rpm Add the followi ...

Posted by McManCSU on Fri, 29 May 2020 19:00:34 +0200

What, too many containers to handle? I choose Docker Compose solha

Next: Interviewer: you said that you are proficient in Docker. Let's talk about Dockerfile in detail 1, Communication between containers 1. One way communication 1.1 what do you mean mysql and tomcat are two independent containers, but tomcat needs to communicate with mysql, and mysql does not need to communicate with tomcat at all, which is c ...

Posted by keenlearner on Thu, 28 May 2020 06:12:26 +0200

How to install Tomcat 9 on Ubuntu 20.04

This article was first published in: https://www.itcoder.tech/posts/how-to-install-tomcat-9-on-ubuntu-20-04/ This guide describes how to install and configure Tomcat 9 on Ubuntu 20.04. Apache Tomcat is an open source Web server and Java servlet container.It is the most popular choice in the world for building Java-based websites and applicatio ...

Posted by muadzir on Thu, 28 May 2020 04:43:56 +0200

Environmental System Tuning

The following adjustments are made in the test environment, then the documentation is written. System tuning: 1. Kernel Parameter Adjustment additional net.ipv4.ip_local_port_range = 1024 65535 net.core.somaxconn = 2048 net.core.rmem_default = 262144 net.core.wmem_default = 262144 net.core.rmem_max = 16777216 ...

Posted by qadeer_ahmad on Tue, 26 May 2020 18:08:50 +0200

Implement simple tomcat

Since our Web application is running in tomcat, the request must arrive at Tomcat first. Tomcat actually handles the request as follows. First, provide Socket service The start of Tomcat must be Socket service, but it only supports HTTP protocol! In fact, we can expand our thinking here. Since Tomcat is based on Socket, what about BIO or NIO ...

Posted by Sesquipedalian on Mon, 11 May 2020 16:41:20 +0200