Spring MVC data processing and jump
1. Result jump method
ModelAndView
Set the ModelAndView object, and jump to the specified page according to the name of the view and the view parser
Page: {view parser prefix} + viewName + {view parser suffix}
<!-- view resolver -->
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"
id="internalRe ...
Posted by chrisprse on Wed, 06 Oct 2021 14:27:25 +0200
Mybatis study notes
Mybatis study notes
This article is to watch the UP master crazy God of station B say about Video of Mybatis explanation , reference Official documents of Mybatis And CSDN bloggers Black heart white lotus Personal Mybatis notes sorted out by relevant articles. Due to the author's limited ability, there are inevitable mistakes in the article. Y ...
Posted by Isityou on Mon, 04 Oct 2021 23:05:02 +0200
The core of Spring - IoC and DI
IoC, the core of Spring
IoC control reverses the permission of Inverse of Control to create objects. Objects needed in Java programs are no longer created by programmers, but are created by IoC containers.
IoC core idea
Implement IoC in the way of Java Web
1,pom.xml
<dependencies>
<!-- introduce Servlet rely on -->
...
Posted by harman on Sat, 18 Sep 2021 11:06:06 +0200
SSM mybatis usage process
SSM mybatis usage process
Official teaching
Mybatis usage process
1. Import the coordinates of jar or mvan
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId> ...
Posted by RedMaster on Fri, 17 Sep 2021 12:20:37 +0200
Notes on MyBatis2
Important notes about MyBatis2 are in the following Baidu network disk connection. Welcome to learn together Link: https://pan.baidu.com/s/1zGAtbdQElMTgzUZUSg033w Extraction code: 2ywn
Here are some easily forgotten points in my learning process to make another record for follow-up review
Step 1: write mybatis configuration file
<?xml ver ...
Posted by verlen on Tue, 07 Sep 2021 23:01:06 +0200