[jsp] [multi word and multi picture] [learning notes] Java Web Learning Trip in winter vacation 1.4
Today, all the train tickets have been bought. I feel closer and closer to Xiagong ๐ค๏ผ Yada ๐ญ๐ญ๐ญ๐ญ๐ญ
1. jsp first entry
1.1. What is jsp
1. The full replacement of jsp is java server pages, which is the server page of Java 2. The main function of jsp is to return the data of html page instead of Servlet program 3. Because it is very com ...
Posted by tomtomdotcom on Sun, 13 Feb 2022 13:34:47 +0100
Login case of Java Web project quick start
The login interface is available for every project, and it is also a small start of a project. How to design the page and the corresponding logic.
1. Interface design
Everyone has different ideas and aesthetics about the interface. This time, we mainly focus on the implementation of login logic. The languages required for interface design inc ...
Posted by lordrain11 on Sat, 12 Feb 2022 01:54:13 +0100
Grain College - project construction
1, Project module introduction and database design
1. Engineering structure
2. Module introduction
Guli parent: online teaching root directory (parent project), managing four sub modules
Canal client: canal database table synchronization module (statistical synchronization data)Common: parent node of common module
Common util: ...
Posted by kb9yjg on Sat, 12 Feb 2022 00:08:57 +0100
Object oriented programming of Java core
Object oriented programming of Java core
essence
Organize code in the form of class and encapsulate data in the form of object
Review method calls
static
Static method
static is loaded with the class
//demo01
public class demo01 {
public static void main(String[] args) {
student.say();//Direct call
}
}
//studen ...
Posted by johncox on Thu, 10 Feb 2022 19:00:21 +0100
Lecturer management module of grain College (back end) | swagger | unified log | unified return result
1, Instructor query function
1. Write query controller code content
@RestController
@RequestMapping("/eduservice/teacher")
public class EduTeacherController {
@Autowired
private EduTeacherService eduTeacherService;
// Instructor query all data list
// Use restful style
@GetMapping("findAll")
public List<EduTea ...
Posted by mattd8752 on Wed, 09 Feb 2022 19:28:16 +0100
Assessment task of the ninth week of javaEE group = = main part: multi thread knowledge summary and related exercises==
1, Concept questions
1. Briefly describe the relationship among programs, processes and threads. What is a multithreaded program?
Relationship between programs, processes and threads:
Program: a program is a set of ordered instructions and stored in a medium. It is a static concept.
Process: process is a concept introduced to enable pro ...
Posted by reddymade on Sun, 06 Feb 2022 18:59:25 +0100
Local method stack, heap of JVM memory structure
3. Local Method Stack
The local method stack is java The virtual machine needs to provide memory space for some local methods when they are called, which refers to those that are not java How to write code, because
Ours java Code has some limitations, it sometimes can't deal directly with the bottom level of our operating system, so it need ...
Posted by Patrick3002 on Fri, 04 Feb 2022 18:28:02 +0100
Java - mybatis Association query, multiple tables with the same name fields lead to SQL error
When using PageHelper in Mybatis, if you encounter multi table queries, especially associated queries (one-to-one, one to many)
If two or more tables contain the same column name, it will lead to:
1. For one to many and multiple parties, there will be an undefined column (the primary key name or a field name are the same)
### The error may e ...
Posted by allistera on Thu, 03 Feb 2022 13:35:17 +0100
Introduction and configuration of Spring
1. spring overview
1.1 what is spring
Spring is a lightweight open source framework for layered Java SE/EE application full stack, with IoC (Inverse Of Control) and AOP (Aspect Oriented Programming) as the kernel. It provides many enterprise application technologies such as presentation layer spring MVC, persistence layer spring JDBC tem ...
Posted by bigmichael on Tue, 01 Feb 2022 09:17:30 +0100
web.xml configuration details
web.xml configuration
Root label
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:jsp="http://java.sun.com/xml/ns/javaee/jsp"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app ...
Posted by env3rt on Mon, 31 Jan 2022 21:57:57 +0100