Java Web Learning Notes

JavaWeb Basic concepts preface web development web pageStatic web html, cssThe data provided to everyone will never change Dynamic web The data provided to everyone will always change, and everyone will see different information at different times and placesTechnology stack: Servlet / JSP, ASP, PHP In Java, the technology of dyna ...

Posted by phpjaco on Thu, 17 Feb 2022 22:25:42 +0100

web.xml configuration details

web.xml configuration Root label <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:jsp="http://java.sun.com/xml/ns/javaee/jsp" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app ...

Posted by env3rt on Mon, 31 Jan 2022 21:57:57 +0100

Details of Java Web phase Response

Response The response object represents the response message returned by the web server to the browser Developers can use the relevant methods of the response object to set the corresponding information to be returned to the browser Set response line void setStatus(int sc) sets the status code Set response header void setHeade ...

Posted by ChrisBull on Sun, 30 Jan 2022 12:44:38 +0100

Mybatis < collection > use method and N+1 query problem

catalogue Mybatis tag nested Sql statement / nested result mapping N+1 query questions Lazy loading Sql keyword In ResultSet Mybatis < Association > tag nested Sql statement / nested result mapping Mybatis's result map function is really powerful. It can help you effectively convert Sql query results into corresponding Bean entiti ...

Posted by Thivya on Mon, 24 Jan 2022 06:15:17 +0100

Java Web Ajax technology

Ajax Technology Ajax(Asynchronous JavaScript and XML) is a technology that uses JavaScript and extended language (XML) to realize the communication between browser and server. Introduction to Ajax technology Ajax realizes the asynchronous interaction technology between browser and server. The user request does not need to refresh ...

Posted by Avalanche on Mon, 24 Jan 2022 05:20:13 +0100

Java Web -- detailed learning notes of HTML, CSS and JavaScript (including rich sample code)

** Java Web – HTML, CSS, JavaScript learning notes ** HTML (Hyper Text Markup Language): it controls the content of the page. It is a language composed of tags, which can show the effect of hypertext. CSS: controls page layout, visual effects, etc C/S structure: Client Server Client to Server B/S structure: Browser Server Browser to S ...

Posted by les48 on Sat, 22 Jan 2022 20:37:43 +0100

2021/07/26 SpringBoot2 data access quick start

Environment: JDK13, IDEA, springboot2 5.3,maven3. eight point one catalogue 1, Automatic configuration of data sources 1. Import jdbc scene Analysis auto configuration 2. Using Druid data sources Configure the Druid data source in custom mode Configure Druid data source monitoring page function Configure the Druid data source in the ...

Posted by FredFredrickson2 on Wed, 12 Jan 2022 08:04:36 +0100

Javaweb--JSP development model (including practical projects)

Javaweb - JSP development model (including actual projects) System development model, that is, system development architecture, is a large structure for integrating application systems. The common system structures are three-tier architecture and MVC. The two architectures are both related and different. The use of these two architectures i ...

Posted by makeITfunctional on Sat, 08 Jan 2022 16:47:05 +0100

Web related problem solving

Background data analysis: 1. Problem generation If the data passed from the front end to the background is an object, it will be converted into a json object by defaultjson objects can only be received by a single object on the server sideFor example, if the front end passes param and ids data, they will be converted into unified json o ...

Posted by TheJuice on Wed, 05 Jan 2022 02:26:02 +0100

Integrating fastjson into spring boot

fastjson is integrated into spring boot, and experience is gained Chinese garbled code problem Sequence problem of serial number field 1, Background JSON(JavaScript Object Notation) is a lightweight data exchange format. Easy to read and write. It is also easy to machine parse and generate. It is based on JavaScript programming language, a sub ...

Posted by JoCitizen on Mon, 03 Jan 2022 17:03:39 +0100