Using eclipse to write a java web program with simple login and registration function in the form of MVC 2

Please pay attention to the version before using. My tomcat is version 9.0, and the notes in it are less, which may be more laborious for novices. First, create a demo database and then a user table in Mysql. The code is as follows create database Demo default charset=utf8; use Demo; create table user ...

Posted on Sat, 15 Feb 2020 08:24:16 -0800 by Webbyturtle

Delete selected actions in table

I. Preface Recently, in the Java Web exercise, there is a requirement to delete the data checked in the table. At this time, you need to obtain which check box is checked and submit it to the servlet to call the method to delete, as shown in the figure Two, train of thought Here, you can add a form label to the outside of the whole form, and ...

Posted on Sat, 15 Feb 2020 06:37:54 -0800 by 99degrees

Sorting out Java Web Framework -- configuring SSM framework

Article directory Set up SSM project POJO CategoryMapper Configure Category.xml CategoryService CategoryServiceImpl CategoryController web.xml applicationContext.xml springMVC.xml listCategory.jsp Could not resolve type alias' categorymap 'appears. Cause: java.lang.classnotfoundexception: Effect: Pr ...

Posted on Thu, 13 Feb 2020 01:07:06 -0800 by ChrisMartino

Jump between servlets

Back to home This is just a simple understanding, because now the mainstream development mode can hardly use the Servlet, or it only comes with the framework, so it's packaged. Servlet s can jump to each other, so that multiple servlets can be used for modularization. Servlet jump is used in MVC (model ...

Posted on Sun, 09 Feb 2020 07:20:20 -0800 by pets2soul

Servlet: listener and filter

Article directory 1. Listener 2. filter 1. Listener Concept: one of the three major components of the web. There are three parts of event monitoring mechanism:Event: one thingEvent source: where the event occurredListener: an object *Register listening: binding events, event sources and listene ...

Posted on Thu, 06 Feb 2020 01:05:14 -0800 by passagewds

JavaWeb -- build Web environment | JSP output

Article directory I. URL 2, B/S program architecture 3, Web server 3.1 definition 3.2 common Web servers 3.3 Tomcat server 3.3.1 definition 3.3.2 characteristics 3.3.3 directory structure after installation 3.3.4 configuration 3.3.5 boot 3.3.6 stop Tomcat Four, JSP 4.1 definition 4.2 working pri ...

Posted on Wed, 05 Feb 2020 02:56:09 -0800 by jami3

Annotated and non annotated processor mapper and processor adapter in srpingmvc.xml

Catalog 1. non annotations 1.1 non annotated processor adapter 1.2 non annotated processor mapper 1.2.1 BeanNameUrlHandlerMapping 1.2.2 SimpleUrlHandlerMapping 1.3 summary 2. notes 1. non annotations 1.1 non annotated processor adapter <! -- non annotated processor adapter -- > <! ...

Posted on Sat, 01 Feb 2020 04:36:35 -0800 by mazazino

SpringMVC Self-Study Log 03 (SpringMVC Notes)

Step 1: Create a new Moudle and add web support!Establish package structure com.kuang.controller Step 2: Due to possible resource filtering issues with Maven, we will configure it well <build> <resources> <resource> <directory>src/main/java</directory&g ...

Posted on Wed, 29 Jan 2020 18:23:46 -0800 by zack45668

Details of spring MVC configuration file

HandlerMapping processor mapping After the HTTP request is intercepted by the dispatcher servlet, it will call HandlerMapping to process. HandlerMapping determines which controller to call to process according to the mapping relationship between the URL < = > controllers.   There are two types of HandlerMapping: BeanNameUrlHandlerMappin ...

Posted on Wed, 29 Jan 2020 06:53:49 -0800 by Afser

Servlet -- jump and information sharing among Web, three scope objects

Catalog Why do I need interaction between servlets? Jump and information sharing between Web Request forwarding URL redirection Servlet three scope objects Why do I need interaction between servlets? Interaction of Web components (Servlet/JSP): Jump between Web components, data sharing ...

Posted on Mon, 27 Jan 2020 04:14:13 -0800 by r3drain