The basic jar package of struts has provided the related jar package commons-fileupload.jar for File upload, which is used to encapsulate the uploaded File as File type
Here is a simple example to describe the steps of file upload in struts
1. First, create the struts project according to the ste ...
Posted on Thu, 16 Jan 2020 06:28:42 -0500 by spamyboy
Dockerfile is the description file of the image file in docker. The straight white point is exactly what the image file is composed of step by step. for example: you bought a hanger on Taobao, but the seller did not send you a complete hanger, but some components and a drawing. You assemble the hanger step by ...
Posted on Wed, 15 Jan 2020 03:25:46 -0500 by venom999
One day, I suddenly received feedback from other group partners that calling one of our group's interfaces timed out. The information is as follows: cause: java.net.socketimeoutexception: read timed out
So I quickly opened Postman to access the next interface, and the result was accessible. After commun ...
Posted on Tue, 14 Jan 2020 03:24:11 -0500 by gabo0303
This series combines the source code (based on springboot2.1.4) to analyze the execution process of springmvc.
First, a complete flow chart:
As we know, the reques ...
Posted on Mon, 13 Jan 2020 03:39:08 -0500 by Dark-Elk
1. Mr. Cheng's certificate
# First switch to the certificate file path:
$ cd /app/tomcat-8.5.39/
# Generate certificate file:
$ keytool -genkey -alias tomcat -keyalg RSA -keypass AAyxl123 -storepass AAyxl123
-keystore tomcat-https-server.keystore -validity 36500
# Certificate Author ...
Posted on Sat, 11 Jan 2020 00:13:21 -0500 by ready2drum
Introduction: Recently, I learned Tomcat and felt it necessary to review the Java reflection mechanism and deepen my understanding.
1, Review of reflexive knowledge
this part refers to the explanation of java reflection in Li Xinghua's java se practice classic.
reflection contains a conc ...
Posted on Fri, 10 Jan 2020 09:20:43 -0500 by flumpy
Reduce database pressure;
Increase request speed.
When the data is stored in the cache, it can be retrieved directly from the cache when it is queried again, so there is no need to request the database, which not only reduces the pressure of the database, but also improves the request speed ...
Posted on Fri, 10 Jan 2020 08:37:22 -0500 by oc1000
I came into contact with SpringBoot just after graduation. I felt that it must be a big device at the beginning. The first impression was that all environments were built in, and I could run wherever I lost my package, simplifying a series of deployment operations of tomcat Xml configuration
1.SpringMvc XML configuration
When it comes to Spr ...
Posted on Wed, 08 Jan 2020 13:22:29 -0500 by gangsterwanster1
Before uploading the official picture, we need to deal with a detail problem:
Every time the project is released, Tomcat will decompress the war package again, and the previously uploaded pictures will be lost
To solve this problem: instead of saving pictures under Tomcat, you can find another directory.
<form method="post ...
Posted on Mon, 06 Jan 2020 05:06:45 -0500 by oops73
Overview of Dockerfile
_Dockerfile is the description file of the mirror file in docker. The straight point is what the mirror file is made up of step by step.For example: you bought a hanger on Taobao, but the seller did not send you a complete hanger, but some components and a drawing. You assemble the hanger step by step according to this ...
Posted on Sat, 04 Jan 2020 16:25:12 -0500 by designedfree4u