Java series tutorial day06 -- loop statement
day06 -- loop statement
Outline:
1,Cyclic structure
2,while loop
3,do-while loop
4,for loop
5,break sentence
6,continue sentence
7,loop nesting
8,task
Add Qianqian teacher vx to get the latest information
1, Cyclic structure
1.1 concept
If the conditions are met, some code will be executed repeatedly. The condition doe ...
Posted by DeepakJ on Fri, 29 Oct 2021 07:17:25 +0200
SSM framework integration - achieve basic CURD effect
1. Build environment
Create a basic Maven project and import the dependencies required by the project
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven. ...
Posted by saronoff on Sun, 03 Oct 2021 21:24:03 +0200
Java Learning day56_Web Component
Web Component
Listener
Monitor.
In the early EE specification, there was only one component of the servlet, followed by two other components, listener and filter.
There are three components in JavaEE: Servlet (developing dynamic web resources), Listener (listener), and Filter (filter)
Listeners on the web:
Listenee: such as a ServletCon ...
Posted by cainy1982 on Fri, 01 Oct 2021 18:35:26 +0200
Idea + Maven implement spring MVC
1, Introduction to spring MVC
Spring MVC is a part of the Spring Framework and a lightweight Web framework based on Java to implement MVC.
MVC is a programming idea (it is divided into three layers, Model View Controller, and each laye ...
Posted by ten31studios on Sun, 19 Sep 2021 12:43:32 +0200
Summary of basic distributed of grain mall
@TOC
1.SPU and SKU
SPU (standardized product unit): similar to classes in java, that is, abstract
SKU (inventory unit): similar to an object, it has more specific values
Basic attribute (specification parameter): common attributes such as length.
Sales attribute: specific attributes
1. Shared specification parameters under classif ...
Posted by mausie on Sat, 11 Sep 2021 08:46:18 +0200
Generics and annotations in Java
1, Use of enumeration classes
1. Description of enumeration class:
Understanding of enumeration class: there are only a limited number of objects in the class, which are certain. We call this class an enumeration class
Enumeration classes are strongly recommended when you need to define a set of constants
Implementation of enumerat ...
Posted by surajkandukuri on Sun, 26 Apr 2020 07:02:31 +0200
Common Java classes
1, String class
Use of java.lang.String class
(1) Overview
String: string, represented by a pair of "" causes.
String declared final, cannot be inherited
String implements the Serializable interface: indicates that strings support serialization. Implemented the compatible interface: indicates that string can compare sizes ...
Posted by schajee on Tue, 21 Apr 2020 14:51:29 +0200
Axis2 distributes WebService (server and client) I
Although POJO and aar can publish WebService, they are not the most commonly used methods.
The common methods are as follows
Server side
1. Create a web Project (New - > other - > Web - > dynamic web Project)
2. Copy the jar package in axis2-1.7.9\lib to WebContent/WEB-INF/lib /
3. Create services folder under Web ...
Posted by mkoga on Mon, 25 Nov 2019 17:52:58 +0100
Creation of spring MVC entry program (annotation mode)
The annotation method is the same as the configuration file method, so there are different points written here and the configuration file method.
Profile to create a connection for springMVC: Portal
The web.xml file is:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/j ...
Posted by phpScott on Wed, 13 Nov 2019 16:26:54 +0100
Handwritten SpringMVC Framework
Handwritten SpringMVC Framework
Smell the rose and have a tiger in the heart
Background: Spring must have been heard of by everyone, and Spring Boot and Spring Cloud frameworks may be more popular now; however, as a web (presentation) tier framework that implements the MVC design pattern, Spring MVC's high development efficiency and high perf ...
Posted by gmccague on Sat, 09 Nov 2019 19:41:16 +0100