Spring MVC Source Analysis

I. Analysis of Processing Processes 1. First of all, Tomcat loads and parses the / WEB-INF/web.xml file every time it starts up, so you can find a breakthrough from web.xml. The main code is as follows: <servlet > <servlet-name >spring-mvc</servlet-name> <!-- servlet class --> <servlet-class >org. ...

Posted on Thu, 10 Oct 2019 23:51:20 -0700 by the_ut_tick

Construction and Use of solr--Day6

First: Solr's Construction 1: Download http://archive.apache.org/dist/lucene/solr/ 2: Installation steps 2.1: Install Tomcat first https://blog.csdn.net/qq_36297434/article/details/83928241 2.2: Unzip Solr tar -xvf solr-4.10.3.tgz.tar 2.3: Enter the directory cd solr-4.10.3/example/webapps/ ...

Posted on Tue, 08 Oct 2019 12:47:54 -0700 by kester

Apache Tomcat Default File Vulnerability

Apache Tomcat Default File Vulnerability I. outline Vulnerability Description: Default error page, default index page, sample JSP and/or sample servlet installed on remote Apache Tomcat server. These files should be deleted because they may help an attacker discover information about remote Tomcat ...

Posted on Tue, 08 Oct 2019 00:12:09 -0700 by dannau

A'small test'on data length in mysql

When I tested insert method today, I found some mistakes: Looks like my sql is okay: ==> Preparing: INSERT INTO user(user_id,username,password,age,gender,phone,QQ,email,portrait,authority,status,integral) VALUE(?,?,?,?,?,?,?,?,?,?,?,?) ==> Parameters: 359522221443518464 (Long), Coconut Milk S ...

Posted on Sun, 06 Oct 2019 03:41:24 -0700 by njwan

# How to deploy nginx and tomcat simultaneously on the same server

A recent problem java deployment usually uses tomcat But python deployment requires nginx + uwsgi But there is only one server. How to turn on nginx and tomcat at the same time on the server? First, look at the network ports. The same server can open different services through different ports I configur ...

Posted on Fri, 04 Oct 2019 10:33:21 -0700 by witty

SpringBoot~File Upload

1. File upload SpringBoot simplifies file upload, which makes file upload very convenient. Here is how to write single file upload and multi-file upload when the front and back ends are separated. Dependency Addition (pom.xml) (Basic Dependency) <dependency> <groupId>org.springframework.boot</groupId> <artifactId& ...

Posted on Fri, 04 Oct 2019 09:55:06 -0700 by inkfish

java project tuning based on spring boot

1. springboot project optimization with embedded server tuning 1. springboot project optimization with embedded server tuning 1. Spring boot abandons tomcat as embedded server and uses undertow instead maven Add to pom The documents are as follows: <dependency> <groupId>o ...

Posted on Fri, 04 Oct 2019 05:25:11 -0700 by cableuser

springboot Notes - Using JSP

JSP: Project structure: you need to add webapp folders to store directory jsp files spring-boot-jsp +-src +- main +- java +- resources +- webapp +- WEB-INF +- jsp +- welcome.jsp +- test +-pom.xml Specify the location and suffix of jsp in the ...

Posted on Thu, 03 Oct 2019 05:55:31 -0700 by Centrek

jdk_tomcat_https_jpress_nginx load_maven compile and package jpress

#JDK Downloadhttps://www.oracle.com/technetwork/java/javase/archive-139210.htmlhttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html java environment variables /etc/profile.d/java.sh export JAVA_HOME=/usr/local/jdk export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH expor ...

Posted on Wed, 02 Oct 2019 18:41:13 -0700 by dc519

solr 2 (solr 5.5.4 Integrated Tomcat 8 Deployment)

Related articles:Solr first article (solr 5.5.4 download linux installation)solr 2 (solr 5.5.4 Integrated Tomcat 8 Deployment)solr Part 3 (IK Segmenter Installation and Configuration)solr Part 4 (solr Integrating Data Sources) Now start Solr 5.5.4 integrated Tomcat 8 deployment #Copy the webapp in solr5 ...

Posted on Tue, 01 Oct 2019 14:08:01 -0700 by yalag