Solon detailed - custom unified interface output for rendering control

Solon detailed series of articles: Solon Detailed Explanation (1) - Quick Start Solon Detailed Explanation (2) - The Core of Solon Solon Detailed Explanation (3) - Solon's web Development Solon Detailed Explanation (4) - Solon's Transaction Propagation Mechanism Solon Detailed Explanation (5) - Solon Plugin of Solon Extension Mechanism Solon De ...

Posted by Ethan28 on Sat, 14 May 2022 09:24:08 +0300

Two implementation methods of spring filter (MVC)

1. Concept The Interceptor of Spring MVC is similar to the Filter of Java Servlet. It is mainly used to intercept users' requests and handle them accordingly. It is usually used in functions such as permission verification, logging request information, judging whether users log in or not. Defining an interceptor in the Spring MVC framework ...

Posted by csn on Fri, 13 May 2022 02:03:43 +0300

Spring MVC learning notes

1, Introduction to spring MVC 1. What is MVC MVC is an idea of software architecture, which divides software according to model, view and controller M: Model, the model layer, refers to the JavaBean in the project, which is used to process data JavaBean s fall into two categories: One is called entity Bean: it is used to store business ...

Posted by hiprakhar on Thu, 12 May 2022 21:07:36 +0300

Spring MVC parameter binding of SSM basic type binding pojo binding queryvo binding

Basic type binding What is parameter binding When the user requests the server, it will pass parameters to the background. How to quickly receive the parameters passed by the user >Traditional method: directly declare HttpServletRequest, HttpServletResponse and HttpSession on the formal parameters of the method in the Controller >Directl ...

Posted by jwwceo on Thu, 12 May 2022 04:30:31 +0300

SpringMVC method return value type of Day25SSM

Introduction to the return value of the processor (1) Servlet returns the result to the browser Forwarding: with data Redirect: without data Asynchronous: json data is sent to the js of the page, and the js organizes the label display The code written in the Servlet to respond to the browser must call the response (2) The method of springmv ...

Posted by nokicky on Thu, 12 May 2022 03:12:17 +0300

4. Data processing and jump

Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it Data processing and jump ModelAndView Set the ModelAndView object and jump to the specified page according to the name of the view and the view parser Page: {view parser prefix} + viewN ...

Posted by girlzz on Fri, 06 May 2022 10:48:34 +0300

SpringBoot Web Development -- data response

catalogue 1. Respond to JSON and return JSON data to the front end 1.1. Introducing dependency 1.2 annotation of mapping method @ ResponseBody 1.3 return value types supported by spring MVC 2. Content negotiation 2.1. Introduce xml dependency (support returning data in xml format) 2.2. postman tests and returns json and xml respectively ...

Posted by jdorma0 on Wed, 13 Apr 2022 17:44:11 +0300

Spring MVC requests and responses

catalogue 1. Data response of spring MVC 1.1 data response mode of spring MVC 1.2 page Jump 1.3 updating data 2. Spring MVC obtains request data 2.1 obtain request parameters 2.2 obtaining basic type parameters 2.3 obtaining POJO type parameters 2.4 obtaining array type parameters 2.5 get set type parameters 2.6 request data garbled ...

Posted by Jim R on Mon, 11 Apr 2022 08:38:35 +0300

Spring learning notes 2 - how to implement the Controller

Method 1: implement the controller interface To become a control class for control The disadvantages of this writing are: A control class can only write one control method, and cannot pass multiple parameters or values. Benefits: There is no need to configure, open annotation and drive support, and there is no need to manage the processing ...

Posted by sansoo on Thu, 31 Mar 2022 03:27:54 +0300

Spring boot implements Rest style request and underlying principle

Introduction to Rest style Nowadays, major companies use restful style to define interfaces. Restful is also a set of interface specifications. Restful can make our interfaces more concise, fast, efficient and transparent. Common Rest style / CRUD Request modeCorresponding attributeMode of useGETqueryThe form request method is getPOSTnewl ...

Posted by stemp on Sat, 26 Mar 2022 17:29:07 +0300