Environment:Native-APACHE-TOMCAT-9.0.0.M21Server-apache-tomcat-9.0.0.m9Error re-disk:Originally not known as the Tomcat version of the solution, implemented a download PDF file function, in action using the functionality provided by SPRINGMVC to
1. Threadpoolexecutor logical structure and mode of operationWhen we created the thread pool, we used one of the simplest constructors in Threadpoolexecutor:public ThreadPoolExecutor(int corePoolSize, int maximumPoolSize,
Method One: Global configuration#临时提权sudo su#输入密码Vi/etc/profile#配置JAVA_HOME, where the path is filled out according to your own versionJava_home= "/system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/"Class_path= "$JAVA
14th Chapter1. Packages (package) in Java2.1 packages, corresponding to folders on disk2.2 Create a new class that defaults to the default package2.3 Declaring the Package keyword: packagesPackage statement, pinned location2.4 Importing a package
People are more lazy and helpful.First put on the uploadify link: http://www.uploadify.com/---inside can see the PHP Demo sample, property Description, as well as the control. Divided into Flash version (free) and HTML5 version (charge).Can see the
The Fourth chapter:Switch··· CaseSelect StructureSwitch(expression) { CaseValue 1: statement; Break; CaseValue 2: statement; Break; ...... default: statement n; Explanation: If the expression has a value of 1, then EXECUTE
Final: Finally, as a modifier
Can be decorated with classes, functions, variables
A class that is final modified cannot be inherited, in order to avoid the quilt-like replication function
The final modified method cannot be
One, for the use of the cycle of the occasionL While loop--First judge, recycleWhile (1, conditional expression ) {//2 , cyclic operation//3 , changing the loop condition expression}L do...while--Cycle First, then judgedo{//2 , cyclic operation//3 ,
The scope of the variable (valid scope of use)1. There are 2 kinds of variables1.1 member variables (attributes)declaration in the inside of the class, outside of the method1.2 Local variablesDeclared within a method or for loop structure2.
1. Packages (package) in Java2.1 packages, corresponding to folders on disk2.2 Create a new class that defaults to the default package2.3 Declaring the Package keyword: packagesPackage statement, pinned location2.4 Importing a package keyword:
HQL QueryInternal connection:From Entity inner JOIN [fetch] Entity.propertyIgnoring the FETCH keyword, we get the result set, each row of data is an object arrayThe Fetch table name indicates that the right Table object is immediately populated with
Method rewrite/overwrite (override)Characteristics:1 typically occurs between parent and child classes, subclasses override methods in the parent class, the return value type of the method, the method name, and the formal parameter list are the same
Decorator mode for Java design modeAdorner modeAdorner mode (Decorator pattern) allows you to add new functionality to an existing object without changing its structure.This type of design pattern belongs to the structural pattern, which is a
Adorner modeAdorner mode (Decorator pattern) allows you to add new functionality to an existing object without changing its structure.This type of design pattern belongs to the structural pattern, which is a wrapper as an existing class.This pattern
Exception handlingAn exception is the name and line number of the error that occurs during a run.ArrayindexoutofboundThe so-called error refers to some of the abnormal events that occur during program operation (except 0 overflow, array subscript
Chapter III:1. Select the first type of structure:if(condition) {//code block} The second type:if(condition) {//code block 1}Else{ //Code 2} Explanation: If the condition result is ture, then execute code block 1 Otherwise execute
Summary:Eexecutor, as a flexible and powerful asynchronous execution framework that supports a variety of different types of task execution strategies, provides a standard way to decouple the submission and execution processes of tasks, based on the
2017.06.06-Diary-object-oriented-this keyword and JAVA source file structure, 2017.06.06 -- this
This is my note today, but it's just some theory. I have posted some exercises later,
This: object reference of the current classUsage scenarios (both
Mybatis settings and mybatis settings
MyBatis settings
Study Notes:
The configuration information of Mybatis can be configured or not typed. After the setting configuration of Mybatis is configured, its runtime behavior will be affected. The
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service