Handwritten Spring IOC and Spring MVC Framework

Spring MVC is equivalent to spring+servlet springBoot tends to be more annotated We can learn from reading spring MVC source code: Design patterns: Singleton pattern Factory model Adapter mode 1. Spring IOC container (bean s), control inversion, dependency injection, the underlying equivalent ...

Posted by 25lez25 on Sat, 10 Aug 2019 03:39:03 -0700

Environment Preparedness --- Configure tomcat (yum installation openjdk) under linux

What is tomcat? How does Tomcat work? please Reference website https://tomcat.apache.org/tomcat-9.0-doc/index.html For more information, please click on https://www.cnblogs.com/xdp-gacl/p/4097608.html Method 1: Download the tomcat installation package decompression Run. / startup.sh under bin file bin: It's about opening and changing To ...

Posted by Anti-Moronic on Mon, 05 Aug 2019 21:48:07 -0700

Strts2 picture upload

Strts2 picture upload Three upload schemes 1. Disadvantage of uploading to tomcat server: the storage location of uploaded pictures is too coupled with tomcat server, which is not commonly used. 2. Establishing binary fields in database tables and storing pictures in database. Disadvantage: directly ...

Posted by Tohou on Wed, 31 Jul 2019 04:26:56 -0700

SpringBoot -- Core Annotations

_SpringBook projects usually have application entry classes and main methods in the entry classes. This is a standard java application entry method. @ SpringBoot Application is used for the most core annotations on the Spring main class, indicating that this is a SpringBoot project to open the capabilities of SpringBoot. _Next let's analyze the ...

Posted by EvoDan on Tue, 30 Jul 2019 22:39:01 -0700

[190730 per day] filter

introduce The filter comes from an interface in the Servlet specification The filter interface can intercept the request before it reaches the target resource file, so that it can judge whether the request is legitimate or enhance the interception request. The filter interface implementation class needs to be implemented by the developer Fil ...

Posted by Rado001 on Tue, 30 Jul 2019 21:02:46 -0700

IDEA configures and runs maven web project

I. Modification of project structure 1.1 The directory structure of the project just created in idea is not standard and needs to be changed manually. Standard directory structure: https://blog.csdn.net/nothings0o/article/details/77122646 Modify the directory structure: https://blog.csdn.net/qq_34 ...

Posted by canny on Tue, 30 Jul 2019 16:24:24 -0700

javaee encryption deployment, tomcat decryption using its own classloader [positive solution]

Links to the original text: http://www.cnblogs.com/riasky/p/3471293.html [Causes] The company needs to encrypt a web project and sell it. As everyone knows, class is a good decompiler. So we need to encrypt the class file first. Then us ...

Posted by jarriola on Wed, 24 Jul 2019 01:58:35 -0700

Summary of java summer vacation learning (13) - - response & request

Request 1. Principle of request object and response object Request and response objects are created by the server. Let's use them. 2. The request object is to get the request message, and the response object is to set the response message.      Request Object Inheritance Architecture: ServletRequest ...

Posted by Hoangsta on Tue, 23 Jul 2019 00:16:12 -0700

Universal File Service Component (Netty Implementation Version)

The file service components described in this article have been described in the previous article of the author.( File upload and download component based on netty However, this paper will be based on the previous implementation to upgrade again, using annotation-based way of automatic assembly. 1. Introduction 1.1 Introduction to Netty Netty i ...

Posted by nodehopper on Sat, 20 Jul 2019 21:21:59 -0700

Solution to Abnormal Closure in kittle Startup: Batch Processing Solution

Question scenario: The kittle tool for data extraction on the server side may sometimes have various problems. The abnormal closure of dos window results in abnormal data extraction work. Therefore, a solution to this problem is proposed. Reason analysis: After Baidu, many of them are kittle memory problems, but what our lea ...

Posted by snipesh0tz on Wed, 10 Jul 2019 14:52:09 -0700