for loop, while loop, break jumps out of the loop, continue ends the cycle, exit exits the entire script
for cycle
Syntax: for variable name in condition; do... ; done
Case 1
1+2+3. +100 and
When sum is first used as a variable, it is 0; when it enters the for loop, every operation changes the sum variable until the end of $i; the final output is $sum.
In addition and subtraction, [] there is no need to add spaces in squa ...
Posted by coditoergosum on Sat, 15 Dec 2018 22:51:03 -0800
J2EE Series Spring 4 Learning Notes (XIII) -- Spring 4 Integrates Struts 2 and Hibernate 4
Now use Spring 4 to integrate Struts 2 and Hibernate 4.
Struts 2.3.16, Spring 4.0.6, Hibernate 4.3.5 integrate the required jar packages:
The jar package required for Struts 2.3.6:
Spring 4.0.6 requires jar packages:
The jar package required for Hibernate 4.3.5:
The MySQL database is installed locally, and MySQL driver package is add ...
Posted by fleabel on Sat, 15 Dec 2018 16:42:03 -0800
Differences between SSH(Struts,Spring,Hibernate) and SSM (Spring MVC, Spring, MyBatis)
Definitions of SSH and SSM
I have experienced two kinds of technology. Framework SSH and SSM, respectively, were taught by teachers when they were undergraduates. SSM is used more after going to the company. Now I want to make a comparison between these two camps. Because my ability is limited and involves more technology, I only make so ...
Posted by sharapov on Tue, 11 Dec 2018 00:03:08 -0800