Java Web Learning note 2: generate picture verification code
First, create a Java Web project named identity, and create a new Servlet named IdentityServlet below it. If the project and Servlet will not be created, please refer to my notes in the previous section: https://blog.csdn.net/h2503652646/article/details/82555695
Here is the source code of IdentityServlet.java
package com.test ...
Posted by tracivia on Tue, 31 Dec 2019 03:16:52 -0800
Three ways to implement 404 pages in Nginx
A website project can't avoid 404 pages. When using Nginx as a Web server, there are the following centralized configurations:
First: Nginx's own error page
Nginx accesses a static html page. When the page does not exist, nginx throws 404, so how to return it to the client 404?
Look at the following configuration. In this ca ...
Posted by pentinat on Sat, 28 Dec 2019 13:23:23 -0800
fastdfs reports java.net.socketimeoutexception: connect timed out exception
Today, I tried to build a fastdfs environment. There is no problem for fastdfs to test the upload function on the server side. The project can also be uploaded normally on the intranet, but the image and other information cannot be uploaded normally on the Internet. The Internet firewall has paid attention to that all the configurations of fast ...
Posted by j-dearden on Thu, 26 Dec 2019 08:01:05 -0800
springboot integrates quartz and configures JNDI data sources
rely on
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<d ...
Posted by n8r0x on Tue, 24 Dec 2019 19:15:05 -0800
Facade design pattern in Java and how to realize it with code
Facade design mode is also called appearance design mode. Its core idea is just like its literal meaning. It provides users with a portal. Users only need to access the portal to get the data they want, without managing the internal structure of the portal, and without knowing the running process. For developers, using facade mode, we can only ...
Posted by jrose83 on Mon, 23 Dec 2019 01:47:58 -0800
Getting started with spring (3) using spring mvc
1. Create project / module
New empty project:springMvcStudy New module: type Maven webapp, name mvcStudy
2. Set Sources and Resources for module
Create two new folders under mvcStudy/src/main: java,resourcesOpen File/Project Structure/Project Settings/Modules, select mvcStudy, and click the Sources tabSet the java folder to Sources and the ...
Posted by Viper_4 on Sun, 22 Dec 2019 13:35:44 -0800
Summary of SpringBoot Junior Knowledge, I'm too difficult to continue...
How idea packages and publishes springboot
1.1. Environmental preparationwindow system, jdk8 environment, springboot project, maven3.5.4 environment
1.2. Package and publish
Open the idea editor and open a written demo projectThen open the terminal window under the idea editor, and when you open this window, it's at the root of the directoryEn ...
Posted by trukfixer on Sat, 21 Dec 2019 19:27:51 -0800
Nginx+Tomcat Load Balancing Cluster Setup
Introduction to Tomcat
Tomcat was originally developed by Sun's software architect James Duncan Davidson
The directories and files below the installation path after Tomcat is installed are important files for using or configuring Tomcat
Tomcat Important Catalog
bin: Stores Tomcat scripts to start and close
conf: Store different Tomcat confi ...
Posted by ATLien on Fri, 20 Dec 2019 12:59:55 -0800
Notes on cluster construction
Catalog
Integrated architecture
Host planning ip
Basic optimization
m01 build yum warehouse
Backup Rsync network wide backup
nfs shared storage project
Real time replication of NFS shared storage data to backup
SSH, Ansible, batch management service project
MySQL database environment construction
The construction of Nginx+PHP popular dynamic W ...
Posted by ben_johnson1991 on Fri, 20 Dec 2019 08:04:42 -0800
java integrated pageoffice implementation inserts tables in word and assigns values
The table operation in word needs to be implemented with the help of data region, which requires that the data region completely contains the contents of the whole table, so that the table can be controlled and operated through the data region. Therefore, to use table, you must insert bookmarks in the word file. For table insertion, you can ins ...
Posted by dh526 on Fri, 20 Dec 2019 06:10:55 -0800