Simply use the spring MVC framework to implement operations similar to traditional servlets (annotation Development)

Spring MVC can be developed using annotations or configuration files, but it is still troublesome to use configuration files. Here is only a case of Servlet control output. IDEA uses the spring MVC framework to implement simple Servlet operations (configuration file version)https://blog.csdn.neUTF-8...

Posted by Funbruk on Wed, 22 Sep 2021 18:38:32 +0530

MyBatis learning 9 introduction case complex query

1, Mapping entity classes in the Orders class (one-to-one mapping) 1. Add a user object in the Orders class under the POJO class as an attribute of the Orders package com.pp.pojo; import java.util.Date; public class Orders { private Integer id; private Integer userid; private String number; priUTF-8...

Posted by johnb352 on Fri, 24 Sep 2021 19:39:29 +0530

Servlet configuration and use

🍖 Servlet configuration and use What is Servlet:Servlet is the abbreviation of Server and Applet, which means Server Applet. (implication: to realize web development The Servlet standard needs to be implemented), and the Servlet is also a Java class in essence (implication: write your own clasUTF-8...

Posted by KingIsulgard on Wed, 29 Sep 2021 22:46:26 +0530

The front end uses tomcat plug-in server - mybatis, spring, spring MVC, crud basic knowledge reserve

**SSM (Spring + spring MVC + MyBatis) framework set is integrated by spring, spring MVC and MyBatis. It is often used as the framework of web projects with simple data source. spring is a lightweight control inversion (IoC) and aspect oriented (AOP) container framework. Spring MVC separates theUTF-8...

Posted by Moesian on Tue, 05 Oct 2021 01:28:58 +0530

Redis01: getting started with caching

background In the traditional project architecture, it is basically a web server (Tomcat and database are deployed independently), which monopolizes the server resources. With the increase of the number of users, concurrent reading and writing to the database will increase the access pressure oUTF-8...

Posted by Satabi2 on Fri, 08 Oct 2021 14:26:30 +0530

Login case of JAVA WEB

Login case of JAVA WEB 1, Preliminary preparation 1. Build a web project Idea - > java enterprise, check Web Application, do not create web.xml, and select Tomcat server for application server 2. Import jar package and configure loading resources Create a resource in the src directory (right clUTF-8...

Posted by fuii_koh on Sat, 09 Oct 2021 00:47:14 +0530

[Jsp] lesson 3 common objects of Servlet

In the process of learning Servlet Technology, many common objects need to be used, and their usage is also very important. Here is the second common object, ServletContext summary 1. T The omcat server creates a ServletContext instance for each web project, and there is only one ServletContextUTF-8...

Posted by chelnov63 on Sun, 10 Oct 2021 10:15:48 +0530

[SpringBoot learning notes 9] SpringBoot customized and integrated Thymeleaf template engine

After integrating the data sources MyBatis and SpringMVC, we continue from the back to the integration part of the page display. Before, our SSM framework used JSP as the front-end page, and JSP pages were also used in the earlier Servlet era, but the times have changed. With SpringBoot, JSP isUTF-8...

Posted by the_reverend on Thu, 14 Oct 2021 06:48:45 +0530

Detailed explanation of JavaWeb HTTP protocol (server data receiving, processing and response process)

HTTP protocol ● what is HTTP protocol? Hypertext Transfer Protocol (HTTP) is a protocol used by server to transfer hypertext to local browser. It is the most popular network protocol applied on the Internet. It is used to define the process of data exchange between client browser and server ● HUTF-8...

Posted by akluch on Thu, 14 Oct 2021 12:48:08 +0530

Tomcat deployment and optimization

Introduction Tomcat server is a free open source Web application server, which is a lightweight application server. It is widely used in small and medium-sized systems and in situations where concurrent access to users is not very common. It is the preferred choice for developing and debuggingUTF-8...

Posted by plutarck on Thu, 14 Oct 2021 22:20:49 +0530