Spring Boot uses embedded containers. How to configure the custom Filter?

Listener, filter and Servlet are three components commonly used in Java Web development. Filter is the most frequently used component, which is often used for simple permission processing, request header filtering and XSS prevention. If we use the traditional Spring MVC for development, we only need to configure the following in Tomcat's web.x ...

Posted on Tue, 14 Jan 2020 06:31:10 -0500 by php3ch0

Bash & Python processing application translation table for international import Excel into string.xml table

The company's business development must be internationalized. In the process of internationalization, the most headache is to write an internationalized language. The establishment of a corresponding string.xml file can make an internationalized application. The corresponding translation of each coun ...

Posted on Tue, 14 Jan 2020 04:13:35 -0500 by r2ks

Kaptcha of verification code tool

Function of verification code Prevent malicious password cracking, ticket swiping, Forum irrigation and page swiping. Effectively prevent a hacker from constantly trying to log in to a specific registered user by using a specific program to brutally crack the way. In fact, the use of verification c ...

Posted on Tue, 14 Jan 2020 02:30:10 -0500 by zigizal

JAVA course notes series: Spring Boot Admin

Spring Boot Admin 1. What is Spring Boot Admin? Spring Boot Admin is an open source software for managing and monitoring Spring Boot applications. Each application is considered as a client. It is displayed in the admin server through HTTP or Eureka registration. The Spring Boot Admin UI uses Angular ...

Posted on Mon, 13 Jan 2020 23:20:18 -0500 by kangaroo232002

Log frame SLF4J+Logback

1, SLF4J(Simple Logging Facade): The face of the log system 2, Logback Specific solutions of log system 3, SLF4J+Logback It can be understood that SLF4J is an interface. Without the specific implementation of Logback, SLF4J cannot be used. 4, Integration with SpringBoot 1. Dependenc ...

Posted on Mon, 13 Jan 2020 10:25:21 -0500 by LeeRoy8888

Lucene full text search

1.2 the difference between database like query and full-text retrieval 1.2.1 structured data and unstructured data The data stored in the database is structured data, namely row data java, which can be logically expressed by two-dimensional table structure. The data that is inconvenient to be represente ...

Posted on Mon, 13 Jan 2020 07:07:50 -0500 by James25

Spring source code exploration III. preliminary test - refining core functions of Spring+MVC [1]

Refining the core functions of Spring+MVC 1, foreword Before learning the source code of a framework, we can think about the configuration items provided by the framework for developers, the functions of the framework in the project, and the presentation form of the framework in the project. We can ...

Posted on Mon, 13 Jan 2020 03:25:03 -0500 by blear

Spring Boot uses embedded containers. How to configure a custom Filter

Listener, filter and Servlet are three components commonly used in Java Web development. Filter is the most frequently used component, which is often used for simple permission processing, request header filtering and XSS attack prevention. If we use the traditional Spring MVC for development, we only need to configure the following in Tomcat's ...

Posted on Mon, 13 Jan 2020 02:50:08 -0500 by mccormr7

Android: combining text and images on a Button or ImageButton

I'm trying to create an image (as background) on the button and add it dynamically, depending on what happens at run time, some text above / above the image. I can't even add text if I use ImageButton. If I use Button, I can add text, but only define an image with Android: drawablebutton and here XML like attributes defined for. However, ...

Posted on Mon, 13 Jan 2020 00:04:59 -0500 by adredz

Java from getting started to giving up learning notes spring MVC

Personal blog https://raptor1998.top/ Summary Spring MVC is the son of spring and belongs to the web layer framework. It provides MVC (model view controller) architecture and components for developing flexible and loosely coupled web applications. Introduction to spring MVC Core architecture ...

Posted on Sun, 12 Jan 2020 21:47:45 -0500 by Chadian22