9. [kowtow to Spring] - IoC's parsing < bean > tag: start the parsing process

import tag parsing is finished. Let's take a look at the parsing process of the most complex and important tag bean tag in Spring. 1. processBeanDefinition In the method ා parseDefaultElement(...), if the label is bean, the ා processBeanDefinition(Element ele, BeanDefinitionParserDelegate delegate) ...

Posted on Fri, 31 Jan 2020 13:23:42 -0800 by snuggles79

[original] brainless operation: EasyUI Tree implements left click to select only leaf node, right click to float menu to add, delete and modify

The Tree component in Easyui is frequently used, and the frequently encountered requirements are as follows: 1. In the tree structure, only leaf nodes can be selected, and other nodes cannot be selected; 2. Right click the leaf node to open the floating menu to add, delete and modify; 3. Right click the non leaf node to open the floating men ...

Posted on Fri, 31 Jan 2020 11:47:40 -0800 by jpt62089

CSS interactive picture comparison component

Usually, when we need to compare the situation of a certain place or a certain object in different periods, we usually adopt the form of picture juxtaposition or picture rotation, but such form is not direct and lacks interactivity. In order to solve this problem, we can use interactive picture control to achieve. The main idea ...

Posted on Fri, 31 Jan 2020 10:27:36 -0800 by arbitter

How to solve the problem that outline is compatible with lower version IE?

Recently, I found that the buttons in the project are basically a gif picture, which is ridiculous. The most serious problem is that if the text in the button exceeds the length of the gif picture, the excess part will not be displayed, so the operability is not very low. Of course, it's hard for a versatile programmer. Here's ...

Posted on Fri, 31 Jan 2020 09:36:29 -0800 by kendallkamikaze

Partial compatibility of native JS

1. Get the rolled out part of the page (top,left) /** * window.pageYOffset Google Firefox * document.documentElement.scrollTop ie8 * @returns {{top: (Number|number), left: (Number|number)}} */ function getScroll(){ return { scrollTop: window.pageYOffset || document.documentElement.scrollTop || document.body ...

Posted on Fri, 31 Jan 2020 07:52:23 -0800 by remnant

Generation of verification code

Related references iOS local dynamic verification code generation Basic principles 1. Store the characters, numbers and special characters to be displayed in an array. 2. Randomly get the specified number of characters from the array and drop them into the property string. 3. A certain range you set the x and y of each wo ...

Posted on Fri, 31 Jan 2020 06:05:53 -0800 by ramzess

Chinese typesetting: better Chinese copywriting

Welcome to correct. GitHub address: https://github.com/jxlwqq/chinese-typesetting Better Chinese copywriting Unify the usage of Chinese copywriting and typesetting, reduce the communication cost between team members, and enhance the quality of the website. install Use composer to install: composer require "jxlwqq/chinese-typesetting" Use Add ...

Posted on Fri, 31 Jan 2020 04:50:02 -0800 by Technex

Zxpautolayout? Three parties of AutoLayout? Made in China

Related information Three party git Library Auto layout artifact - ZXPAuaoLayout framework, one line of code to complete autolayout(iOS source code) The lightest AutoLayout - ZXPAutoLayout framework imitate masonry_github This three-way, but some of the grammar is relatively simple Import three party 1> di ...

Posted on Fri, 31 Jan 2020 04:26:37 -0800 by rfrid

Spring MVC receives form data and data binding

There are three ways to receive form data.   1. Receive form data using simple types (bind simple data types) Form: <form action="${pageContext.request.contextPath}/userController/handler" method="post"> User name: < input name = "username" type = "text" / > < br / > Password: < input name = & ...

Posted on Fri, 31 Jan 2020 03:15:05 -0800 by powlow

21 days to build a distributed crawler (I) urllib Library

1.1.usage of urlopen function #encoding:utf-8 from urllib import request res = request.urlopen("https://www.cnblogs.com/") print(res.readlines()) #urlopen Parameters #def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT, # *, cafile=None, capath=None, cadefault=False, context=None): 1.2.urlretriev ...

Posted on Thu, 30 Jan 2020 20:33:30 -0800 by bri4n