1. Result View Concept
The return value of action method is String type. It returns the name of the corresponding result view. In action class, return keyword is used to express it. In corresponding struts.xml file, tag is used to express it.2. Result View Properties
<result name="succe ...
Posted on Sun, 04 Aug 2019 00:15:57 -0700 by first_lady_the_queen
By quickly building a spring-based web application with idea, we can start with the spring listener in web.xml
1.1 context Creation
When tomcat starts a webapp application, it uses multithreading to call the start method of StandardContext, and when StandarContext starts, it calls the listener that im ...
Posted on Sat, 03 Aug 2019 23:57:08 -0700 by acidglitter
Introduction to mybatis
What is mybatis
MyBatis is an excellent persistence layer framework and is a semi-automated ORM framework
It encapsulates the process of using JDBC to manipulate the database so that developers only need to focus on the SQL itself rather than on the complex process code of jdbc, such as registering drivers, creating con ...
Posted on Fri, 02 Aug 2019 17:50:38 -0700 by cody44
Links to the original text: https://www.cnblogs.com/enjoyingsoft/p/10262223.html
1. Use scenarios
Let's look at a common application scenario. Our integrated application can receive requests from clients to submit orders. There are many ...
Posted on Fri, 02 Aug 2019 00:39:30 -0700 by postmanager
Links to the original text: https://www.cnblogs.com/baiqiantao/p/7478523.html
First, build a maven project to introduce the corresponding dom4j Maven dependencies into pom.xml
Posted on Thu, 01 Aug 2019 03:06:41 -0700 by LordMerlin
Spring MVC is responsible for the presentation layer that interacts with the page, so in addition to configuring its own spring mvc. xml, it also needs to configure the front-end controller in web.xml. Following is the construction of Spring MVC framework
Configure web.xml: Configure the front-end cont ...
Posted on Wed, 31 Jul 2019 05:54:02 -0700 by joebWI
I. Introduction to Spring Framework and Official Compressed Packet Directory
Purpose of Spring Framework
Without reinventing technology, the original technology will be more convenient to use.
IoC/DI Control Inversion/Dependency Injection
AOP Face-Oriented Programming
Posted on Wed, 31 Jul 2019 05:30:57 -0700 by corporateboy
1. Upload Method
Upload to the specified file directory, adding a mapping relationship between the server and the real directory to decouple the relationship between the uploaded file and tomcat) File Server
2.web Code Optimization
1 package com.yuan.crud.web;
3 import java.io.BufferedInputStream;
4 import java.io.BufferedOut ...
Posted on Tue, 30 Jul 2019 11:50:24 -0700 by FUNKAM35
This article focuses on the basic use of springmvc, taking the helloworld project as an example.
1. New web project: springmvc_helloworld
2. Import the jar package under WebRoot\WEB-INF\lib
Posted on Tue, 30 Jul 2019 10:19:40 -0700 by raan79
The project contains code, required jar packages and sql files
I. Introduction to MyBatis
MyBatis, like Hibernate, is an orm persistence framework. Native jdbc operations have a lot of repetitive code (such as registration driver, connection creation, statement creation, result set ...
Posted on Tue, 30 Jul 2019 06:58:52 -0700 by dimxasnewfrozen