File upload using fileupload component
Reasons for using fileupload components:
The Request object provides a getInputStream() method through which the data submitted by the client can be read, but since users may upload multiple files at the same time, it is a very troublesome task to program and parse these uploaded data in the servlet. To facilitate developers to process file u ...
Posted by vig0 on Sat, 29 Jun 2019 10:50:05 -0700
SearchView of Material Design is fully unlocked
I. Brief Introduction
SearchView is a compatibility control in the v7 package. It can be used alone or in conjunction with menu+toolbar. This article explores SearchView in a second way. Finally, we will achieve the effect of "imitating the local music search of Netease Cloud Music" through code actual combat, which will completely ...
Posted by irbrian on Sat, 29 Jun 2019 10:48:52 -0700
Material Design's Exploration of TabLayout
I. Brief Introduction
TabLayout is a new control of the Android Support Design library, which can be used to achieve the effect of the open source framework ViewPage Indicator (which was basically used before Material Design came out). TabLayout is simpler to use than TabLayout and does not necessarily need to be used with ViewPager. After al ...
Posted by renno on Fri, 28 Jun 2019 15:55:56 -0700
Static Web Page Using freemarker
Statement: This article is from: http://blog.csdn.net/ajun_studio/article/details/6932185/
1. Introduction - What is FreeMarker
Template Engine: A Template-based Common Tool for Generating Output Text
Based on Java Development kits and class libraries
2. Introduction - What FreeMarker Can Do
View Layer Components in M ...
Posted by jburbage on Fri, 28 Jun 2019 15:21:04 -0700
Redis Series (IV) -- Memory Elimination Mechanism (including Suggestions for Memory Optimization in Stand-alone Edition)
The memory of each redis server is limited, and not all memory is used to store information. Moreover, the implementation of redis does not optimize the memory too much, so the implementer has taken some measures to control the memory in order to prevent the memory from being too saturated.
The structure of this paper is: (1) memory strateg ...
Posted by asurfaceinbetween on Fri, 28 Jun 2019 14:21:52 -0700
MySQL Learning Notes - Subqueries and Connections
MySQL Learning Notes - Subqueries and Connections
Enter client into gbk encoding mode to display:
mysql> SET NAMES gbk;
1. Subquery
Definition of subqueries:
Subquery refers to the SELECT clause that appears in other SQL statements.
For example:
SELECT * FROM t1 WHERE col1 = (SELECT col2 FROM t2);
Where SELECT * FROM t1 is c ...
Posted by Rangana on Fri, 28 Jun 2019 13:04:33 -0700
Drawable Resource Tour (II): Shape Drawable Detailed Explanation and Application (Imitated Wechat Radar Scanning)
About the author: Speedy
Wechat Public Number: Android Tour
Blog Home Page: http://blog.csdn.net/speedystone
Nuggets column: https://juejin.im/user/57e082d60bd1d00057ff8c45
I. Preface
In our daily development, we need a lot of pictures to beautify our APP. Besides enhancing the aesthetics of UI, the large use of pictures also ...
Posted by Gordicron on Fri, 28 Jun 2019 11:31:37 -0700
Introduction to Android Collapsing Toolbar Layout
I really like the effect of folding toolbars in Material Design, which is the design used in Bilbili Android Client Video Details Page. In the second part of this article, we will learn about the use of Collapsing Toolbar Layout by simply emulating the implementation of Bilbili Video Details Page. The third part of the article introduces the co ...
Posted by sashi34u on Thu, 27 Jun 2019 19:10:34 -0700
MySql 5.6.36 64-bit Green Edition Installation
There are a lot of articles about MySQL installation on the Internet, but there are some problems in installing MySQL on your laptop today, just for record.
1. Download the zip package of MySQL. There are 32-bit and 64-bit versions of Windows on the official website https://dev.mysql.com/downloads/mysql/as required.
2. Unzip to the folder you ...
Posted by jnutter on Thu, 27 Jun 2019 11:30:31 -0700
Android--An Example Analysis of Ordered Broadcasting--A Case of Intercepting Ordered Broadcasting
Ordered broadcasting is a kind of synchronous broadcasting. Only one broadcasting receiver can receive this message at the same time after the broadcasting is sent. When the logic in the broadcasting receiver is finished, the broadcasting will continue to transmit. Therefore, the broadcast receiver at this time is sequential and can be intercep ...
Posted by cpace1983 on Tue, 25 Jun 2019 15:44:05 -0700