Using @ controlleradvce and ErrorController interfaces in springMvc

Using @ controlleradvce and ErrorController interfaces in springMvc 1, Introduction aop can be used for global processing in spring MVC. Here we introduce another way, with the help of springMvc's controlleradvce annotation and ErrorController interface. 2, ControllerAdvice annotation @Controllera ...

Posted on Mon, 29 Jun 2020 05:25:47 -0400 by lowspeed

Spring Boot & Restful API!

Author: liuxiaopeng https://www.cnblogs.com/paddix/p/8215245.html In the current development process, in order to achieve the maximum separation between the front end and the back end, the back-end interface only provides the data interface. The front-end obtains the data from the back-end through the Ajax request and renders it to the user. ...

Posted on Mon, 29 Jun 2020 04:21:04 -0400 by TCovert

Spring Boot & Restful API!

Author: Liuxia openghttps://www.cnblogs.com/paddix/p/8215245.html In the current development process, in order to achieve the maximum separation between the front end and the back end, the back-end interface only provides the data interface. The front-end obtains the data from the back-end through the Ajax request and renders it to the user. ...

Posted on Mon, 29 Jun 2020 03:57:21 -0400 by summerjamn

Android: how to use ViewPage

catalog 1. Definition ViewPager is a class in the Android extension package v4 package android.support.v4.view.ViewPager Similar to LinearLayout, the ViewPager class directly inherits the ViewGroup class and is a container in which we need to add the content we want to display. Similar to ListV ...

Posted on Mon, 29 Jun 2020 02:15:32 -0400 by zoffi

JSP--JSTL (JSP Standard Tag Library)

JSP--JSTL (JSP Standard Tag Library) Blog description The information involved in this article comes from Internet collation and personal summary, which means personal learning and experience summary. If there is any infringement, please contact me to delete, thank you! concept JavaServer pages tag library JSP standard tag library Is an open so ...

Posted on Sun, 28 Jun 2020 02:19:01 -0400 by wing_zero

Call WebService interface

Last level we talked about generating maven project. In this episode, we talk about generating JavaBeans and String loaded Bean tool classes. 1. Add test class dependency <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> ...

Posted on Sun, 28 Jun 2020 01:59:41 -0400 by duncanmaclean

009 - generation method of distributed ID

effect Unique identification of data and information in distributed cluster system target Global uniqueness: duplicate ID number is not allowed. Since it is the only identification, this is the most basic requirement. Trend increasing: in MySQL InnoDB engine, clustered index is used. Because most ...

Posted on Sun, 28 Jun 2020 01:06:53 -0400 by plzhelpme

Spring cloud Part 3: service provision and Feign call

In the previous article, we introduced the construction of the registration center, including that of the cluster environment. This article introduces how to use the registration center, create a service provider, and use a simple client to call the services provided by the server. In this article, there are three roles: service provider, servi ...

Posted on Sun, 28 Jun 2020 00:34:28 -0400 by Hokus

java foundation Object class

  catalog 1. getClass method 2. equals method 3. hashCode() method 4. toString method 5. clone method 6. Grammar sugar: automatic packing and unpacking The Object class is the root of all Java class inheritance systems. All Java classes, including arrays, inherit from the Object class. There ...

Posted on Sun, 28 Jun 2020 00:21:02 -0400 by jswinkelman

AJAX_ Introduction & classic cases

AJAX_ Introduction & classic cases Getting started with AJAX AJAX introduction AJAX(Asynchronous JavaScript And XML): asynchronous JavaScript and XML. It is not a new technology in itself, but a combination of multiple technologies. Technology for quickly creating dynamic web pages. If you ne ...

Posted on Sat, 27 Jun 2020 22:50:27 -0400 by Strikebf