How to implement the complete INI file reading and writing class

Author: Magic fudge Date: February 27, 2020 Introduction ************************************* The. ini file is an abbreviation of the Initialization File, which is the configuration file. yes windows System configuration file The storage format used. It is easy to use, and has similar functions with the key value of the registry. Various appli ...

Posted by chalexan on Thu, 27 Feb 2020 21:32:58 -0800

Detail the Spring XML file -- call the parameter construction method and assign the parameter

Catalog   1, If the constructor can be called 1. Write a UserInfo class: 2. The spring XML file is configured as follows: 3. Write a Test class 2, Assign values to different types of parameters of the constructor 1. Custom object 1) Write UserInfo class 2) Configuration XML file 3) Write Te ...

Posted by Grim... on Thu, 27 Feb 2020 02:44:19 -0800

Get the general method of request parameters | |; Chinese scrambling problem | |; request forwarding

1. General way to get request parameters: the following methods can be used to get request parameters in both get and post request modes 1. String getParameter(String name): get the parameter value according to the parameter name. Username = ZS & password = 123 2. String[] getParameterValues(St ...

Posted by shylock on Thu, 27 Feb 2020 02:04:50 -0800

Detailed explanation of the use of ssziprarchive

1, Use details: When we develop an app, we sometimes need to compress and decompress the files. At this time, we must use a third-party open source library, ssziprarchive, to compress and decompress the target files.   DDLog is used to record logs. The logs of DDLog exist in different files by ...

Posted by jeff8j on Thu, 27 Feb 2020 00:00:16 -0800

Android Development Series 2 - details of Activity page Jump

In Android development, the jump between Activity pages can be divided into two types. There are different methods and methods in two of them. Next, we will introduce each method of page Jump in detail. Intent is a messaging object that can be used for other application request operations. Intent can pr ...

Posted by psymonic on Wed, 26 Feb 2020 21:48:21 -0800

Notes configuration and principle of spring MVC

Spring MVC configuration and underlying principles Import spring MVC jar package Configure the total (front-end) controller web.xml Add spring MVC configuration file src/appContext.xml Write Controller and handle connection and method The imitation of the underlying principle of spring MVC ...

Posted by nayone on Wed, 26 Feb 2020 20:29:28 -0800

IO learning three (decoration flow)

IO stream read / write operation decoration stream First, brief 2, Bufferedoutputstream & bufferedinputstream 3, Character buffer stream (bufferedwriter & BufferedReader) 4, Conversion stream (outputstreamwriter & inputstreamreader) 5, Dataoutputstream & datainputstream 6, Objectoutpu ...

Posted by bajer on Tue, 25 Feb 2020 07:07:18 -0800

Python Network Request library Requests, mom will never worry about my network Requests again

I. General Situation Network request may be an important part of every language. In Python, although there is a native network request library such as urllib, some of its APIs are not very friendly to developers. So, the revolution of requests has begun. It not only humanizes the API, but also supports all features of urllib. Requests supports ...

Posted by SEVIZ on Tue, 25 Feb 2020 02:05:02 -0800

Splitting and Extracting Text Data in pandas

This paper mainly shares the splitting, extracting and merging of text data to prepare for the next visual analysis. The data comes from the employment information of boss and dragnet data analysis positions, totaling 9458. The crawling methods of the pull-hook are as follows: Python selenium+beautifuls ...

Posted by timelf123 on Mon, 24 Feb 2020 19:58:24 -0800

Authorization authentication (identity server 4)

Difference OpenId: Authentication: authenticationOAuth: aurarize: authorization Enter the account password, and QQ confirms that the correct account password can be used for login -- > authentication The following check boxes need to be checked (get nickname, avatar, gender) -- > authorization OpenID When you need to visit website A, w ...

Posted by Daisatske on Sun, 23 Feb 2020 22:56:24 -0800