Based on node JS build express application to realize simple Web server function. It is recommended to collect

1, express Foundation 1. Introduction to express Express is a flexible node that maintains a minimum size JS Web application development framework provides a set of powerful functions for Web and mobile applications.Express provides streamlined basic Web application functionality without hiding node JS.Many popular development frameworks ...

Posted by Amanda1998 on Tue, 04 Jan 2022 10:40:29 +0100

Request parameter processing in spring MVC

Main knowledge points The servlet API gets the request parameters using request getParameter("xxx")In spring MVC, you only need to declare the parameter with the corresponding name in the processing method to automatically match the parameter passed in by the request and perform the corresponding type conversion (the servlet API also ...

Posted by usefulphp on Mon, 03 Jan 2022 23:26:34 +0100

Jingtao project - user login module_ day11

1.ElementUI 1.1 introduction to elementui Link: ElementUI official website 1.2 ElementUI introduction case 1. Edit components You can directly click ctrl+c/v in the component module In elementui Paste ctrl+v directly in Vue component file 2. js file import //1. Import components from JS file import { Container } from 'element-ui' // ...

Posted by violinrocker on Mon, 03 Jan 2022 02:55:25 +0100

[Python advanced] Decorator

Decorator Learning objectives Be able to know the syntax format of defining decorators 1. Definition of decorator It is a function that adds additional functions to existing functions. It is essentially a closure function. Functional features of decorator: Do not modify the source code of existing functionsDo not modify the calling ...

Posted by adredz on Fri, 31 Dec 2021 14:31:57 +0100

Convert a JSP/Servlet project to a Spring Boot project

Create Spring Boot application Before refactoring JSP applications based on Spring, we first introduce Spring Boot to make it a Spring Boot application. You only need to add simple configuration and a small amount of code on the basis of the original code to introduce Spring Boot. The whole process can be completed in 5 minutes. Here, we use ...

Posted by Pig on Fri, 31 Dec 2021 09:19:15 +0100

Redis implements Session sharing

I've been working on such a small module as session sharing these days, and I've also checked a lot of data. It gives me the feeling that it's too messy. I can't find what I want. Almost all the implementation methods are different from my ideas. Here, I summarize how I realize session sharing with redis to facilitate my future query, I also ho ...

Posted by designguy79 on Thu, 30 Dec 2021 19:00:06 +0100

How to write a rich text editor from scratch (parse slate source code, serialization)

background The document is very popular recently, and the boss wants it too. I was also very interested, so I went into the pit to study and practice. In the blink of an eye, a year has passed, and the project has achieved initial results, but the difficulties and challenges are becoming more and more difficult. So I deeply studied and adapted ...

Posted by kaze on Thu, 30 Dec 2021 13:07:58 +0100

Request mapping for Springboot

@GetMapping, @ PostMapping, @ PutMapping, etc.: they are equivalent to RequestMapping(value = "/ xxx", method = RequestMethod.GET) or RequestMapping(value = "/ xxx", method = RequestMethod.POST), that is, the abbreviation of the qualified request method. Request mapping principle What is request mapping? Personal understan ...

Posted by rolajaz on Tue, 28 Dec 2021 21:32:58 +0100

In depth analysis of Java Web

1. Basic concepts 1.1. Static web 1.2 dynamic web 2. web server lISTomcat 3,Tomcat The default port number of tomcat is 8080mysql: 3306http: 80https: 443 4,Http 4.1 concept Http: (Hypertext Transfer Protocol) is a simple request response protocol, which usually runs on TCP; port: 80Https: Secure Hypertext transmission protocol; Port: 4 ...

Posted by Deltran on Fri, 24 Dec 2021 01:57:44 +0100

Notes on Web Front End Development - Chapter 2 HTML Language Section 4 Hyperlink Labels

Preface This section describes the usage of hyperlink labels, namely label a, and related application examples. 1. Hyperlink Labels A tag, also known as a hyperlink tag, can be used on pictures or text, or on the navigation bar, click and jump to a new page for users to browse. The hyperlink is denoted as <a href = "Web address ...

Posted by billy_111 on Tue, 21 Dec 2021 08:46:06 +0100