Session management and generation verification code of BBS forum project (including detailed code comments)

session management Basic properties of HTTP The official website of HTTP is: https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview#http_is_stateless_but_not_sessionless It can be used as a reference manual. Http is stateless and conversational HTTP is stateless: there is no link between two consecutive requests on the same connect ...

Posted by kevinkorb on Mon, 07 Mar 2022 20:50:59 +0100

Common Java classes: Object class

Common Java classes: Object class summary It is a super class and base class, which is located at the top of the inheritance number. It is the direct or indirect parent of all classesAs long as any class does not declare extends to inherit a class, it will inherit the Object class by default. Otherwise, it will inherit the Object clas ...

Posted by afam4eva on Mon, 07 Mar 2022 20:49:25 +0100

Java notes 11 common classes

11.1 packaging 11.1.1 classification of packaging For the eight basic types, the corresponding reference type -- wrapper class With the characteristics of the class, you can call the methods in the class Basic data typePackagingbooleanBooleancharCharacterbyteByteshortShortintIntegerlongLongfloatFloatdoubleDouble 11.1.2 conversion of p ...

Posted by $kevan on Mon, 07 Mar 2022 20:43:07 +0100

Spring learning notes

This article is a personal note based on the video of crazy God on bilibili 1.Spring 1.1 INTRODUCTION Spring framework is an open source J2EE application framework. It is a lightweight container for managing the life cycle of bean s. It solves many common problems encountered by developers in J2EE development. In short, the purpose of Spr ...

Posted by predator12341 on Mon, 07 Mar 2022 20:31:57 +0100

Common commands for online troubleshooting

Memory bottleneck free free is to view memory usage, including physical memory, swap memory, and kernel buffer memory. free -h -s 3 means to output the memory every three seconds. The command is as follows [1014154@cc69dd4c5-4tdb5 ~]$ free total used free shared buff/cache available Mem: 119623656 ...

Posted by IOAF on Mon, 07 Mar 2022 20:14:37 +0100

Algorithm Title: regular expression matching (title + idea + code + comment)

subject Regular Expression Matching Give you a string s and a character rule p, please implement a support '.' Matches the regular expression of '*'. ‘.’ Match any single character '*' matches zero or more preceding elements The so-called matching is to cover the whole string s, not part of the string. Example 1: Input: s = &q ...

Posted by Robert Plank on Mon, 07 Mar 2022 19:20:41 +0100

02-SpringIoC and DI Annotation Development

1.Spring Configuration Data Source 1.1 Role of data sources (connection pools) Data sources (connection pools) are available to improve program performance Pre-instantiate the data source to initialize partial connection resources Get from data source when using connection resources Return the connected resource to the data source after us ...

Posted by anthonyfellows on Mon, 07 Mar 2022 19:11:53 +0100

Generic note 3-lower bound wildcard

The previous section discussed the role of the upper bound wildcard and its use Today we will discuss lower bound wildcards Lower bound wildcard When we need to dynamically pass in class objects and their superclass types, due to the erasure nature, the compiler cannot determine whether the passed in objects are superclasses of an Object, but ...

Posted by chrisranjana on Mon, 07 Mar 2022 18:03:47 +0100

SSM questionnaire - project notes 35000 words super detailed

Source code, personal notes pdf version and download link Link: https://pan.baidu.com/s/14VFJ2SsJWKZ_jIX7rfG6uw Extraction code: ssms After copying this paragraph, open Baidu online disk mobile phone App,More convenient operation Video link: ssm project practice - voting system - questionnaire system - IDEA If the picture can't be tr ...

Posted by poisa on Mon, 07 Mar 2022 17:44:10 +0100

[read the Spring source code like this] - go to the container Spring IOC again

The preparatory work has been finished. Now we can officially enter the reading link. This article, like the title, mainly talks about the container, the core part of Spring. This word is not unfamiliar. Many people will come into contact with Spring's two core functions IOC and AOP when they come into contact with Spring. Here we read it from ...

Posted by lampquest on Mon, 07 Mar 2022 17:32:11 +0100