jsp&MVC&EL expression

jsp <%@ page contentType="text/html;charset=UTF-8" language="java" %> <html> <head> <title>jsp form</title> </head> <body> <h1> Hello </h1> </body> </html> instructions Function: used to configure jsp pages and import resource files Format: <% @ instruction name a ...

Posted by atdawgie on Tue, 21 Sep 2021 23:15:33 +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

❤️60,000-word Introduction to the Spring MVC Framework - From Beginner to Advanced (Recommended Collection)❤️

Introduction to the Spring MVC Framework (Recommended Collection) ❤️Hope your blogger gives you a triple company + attention!!! Learn video from: Station B says, if you are interested, you can watch it SSM: mybatis + Spring + Spring MVC MVC three-tier architecture SpringMVC + Vue + SpringBoot + SpringCloud + Linux SSM = JavaWeb for project ...

Posted by scotthoff on Mon, 13 Sep 2021 05:07:21 +0200

SpringMVC Response Control

1. SpringMVC Response Control 1.1 Default Page You can configure a default jump page for Controller after processing is complete In the configuration file of mvc <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"> <property name="prefix" value="/pages/" /> <property name="suffix" v ...

Posted by FarhanKhalaf on Thu, 09 Sep 2021 18:46:21 +0200

Handwritten spring Chapter 3 - refactoring, using dependencies to improve instantiation bean operations

preface In the previous article, we wrote a spring short version framework based on the single responsibility principle and template method pattern, but in the process of use, we found that if the bean to be loaded into the container has parameters, there will be problems when creating the bean. In this chapter, we need to adjust the frame ...

Posted by SP8600 on Sun, 05 Sep 2021 04:27:33 +0200