SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]

slfj4 dependency conflict Production situation in use <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>1.4.2.RELEASE</version> </plugin> When packaging the spring boot project, the 1.4.2 version of s ...

Posted by zab329 on Fri, 08 Feb 2019 13:21:17 -0800

Servlet&jstl&el& filter & listener & connection pool -- Review

Life Cycle of Servlet plus jar @WebServlet( name="BaseControl", urlPatterns = {"/base1"}, initParams = { @WebInitParam(name="page1",value="/page1.jsp"), @WebInitParam(name="page2",value="/page2.jsp") } ) public class BaseControl extends HttpServlet { private Map<String , ...

Posted by gijs on Thu, 07 Feb 2019 09:33:16 -0800

MAVEN packaging contains more resource files (src/main/java,src/main/resources)

How to include more resource files when packaging with MAVEN First, let's look at the directory structure of the MAVENx project standard:   Generally, the resource files we use (all kinds of xml, properties, xsd files, etc.) are placed under src/main/resources. When maven is used to package these resource files, maven can package them into ...

Posted by mlewis on Mon, 04 Feb 2019 11:06:16 -0800

Springmvc receives data and sends it to the interface in several ways

1. reception 1.1 is accepted in the name of javabean and needs to be consistent with javabean // 1. Any object placed in () is automatically instantiated (NEW) // 2. Automatic DI/IOC (equivalent to request.getParameter("bookid") written in SERVLET before) // 3. Automatically sharing data (request.setAttribute(" ...

Posted by poizn on Sun, 03 Feb 2019 01:00:16 -0800

Summary of Blind Points in SSM Small demo

Conversion between Date and String: 1. Global Converter(Recommended use) 1. Create class implementations Converter Interface,Realization Convert Method public class StringToDateConvert implements Converter<String, Date> { @Override public Date convert(String resource) { if(resource == nu ...

Posted by jimmyborofan on Fri, 25 Jan 2019 00:24:13 -0800

JQuery Ajax Implements Select Multilevel Associated Dynamic Binding Data

Here are some ideas about the use of JQuery plug-ins to share with you, hoping to help you. jQuery chooses plug-ins to be divided into basic version and beautification version, with emphasis on beautification version, as shown in the following figure: Compared with the original version, the beautified selection plug-in can be said to be ver ...

Posted by Floydian on Sat, 19 Jan 2019 15:15:14 -0800

Spring Boot and kotlin Render web Views Using Thymeleaf Template Engine

stay Creating RESTfull API with Spring Boot and Kotlin In this article, we have completed a simple RESTful service and experienced the magic of combining Spring Boot with kotlin, but we often need web support, so this article introduces Spring Boot and kotlin using Thymeleaf template engine to render web views on the basis of the previous arti ...

Posted by exa_bit on Tue, 08 Jan 2019 16:51:10 -0800

OSGI Enterprise Application Development (XIV) Integrating Spring, Mybatis and Spring MVC

As an enterprise-level Web application, MVC framework is essential. Spring MVC is widely used at present. This article will introduce how to integrate Spring, Mybatis and Spring MVC framework in OSGI applications. The integration of Spring MVC is difficult because each Bundle has an isolated Application Context after Spring is integrated into ...

Posted by kathas on Sat, 05 Jan 2019 19:27:10 -0800

Baidu ueditor Rich Text - PC-side single, PC-side multiple, mobile-side single, mobile-side multiple

We have done research on rich text plug-ins in previous articles. Rich text plug-in Ueditor Baidu launched an open source online HTML editor.http://fex-team.github.io/ueditor/ It's easy to use. We record its application process in detail in this chapter, as well as the specific configuration in different scenarios. We have already app ...

Posted by spramod on Thu, 03 Jan 2019 22:06:10 -0800

Learning collation of java apache commons HttpClient sending get and post requests

Copyright Statement: This article is the original article of the blogger. It can not be reproduced without the permission of the blogger. Original collation is not easy, please indicate the source of reprinting: java Learning collation for apache commons HttpClient sending get and post requests Code download address: http://www.zuidaima ...

Posted by Gappa on Tue, 01 Jan 2019 23:00:08 -0800