javaEE note administrator login

index.jsp in the web Directory: <%-- Created by IntelliJ IDEA. User: Administrator Date: 2017/12/25/025 Time: 20:40 To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <html> <head> <title>$Tit ...

Posted by shadow_blade47 on Thu, 30 Apr 2020 16:17:20 -0700

The use of FilterConfig in Servlet

Original link: http://www.yiidian.com/servlet/filter-config.html The Web container creates an object for FilterConfig. This object can be used to get the configuration information of the Filter from the web.xml file. 1. Method of filterconfig interface There are four methods in the FilterConfig interface: public void init (FilterConfig config) ...

Posted by daiwa on Mon, 20 Apr 2020 08:38:07 -0700

Various path issues for Request requests

From: https://blog.csdn.net/qq_27770257/article/details/79438987 Recently, there has been some confusion about several "paths" in request, and the search for online resources is not well summarized. I hope this article can help me understand these "paths".(+++++++++++++++++++++++++++++++++++++++++++++++++ T ...

Posted by benutne on Wed, 25 Mar 2020 09:32:39 -0700

Day 31 of learning Java -- byte stream of IO framework

Concept of stream, classification of stream, byte stream, serialization 15. I/O framework 15.1 concept of flow 15.2 classification of flows 15.2.1 flow classification (direction) 15.2.2 flow classification (unit, function) 15.3 byte stream 15.3.1 parent class of byte stream 15.3.2 byte node strea ...

Posted by kenrbnsn on Mon, 16 Mar 2020 06:44:14 -0700

Servlet forward and include methods

Original link: http://www.yiidian.com/servlet/servlet-dispatcher.html Request Forwarding and Inclusion Using Servlet The RequestDispatcher interface provides the ability to forward requests to another resource, which may be Html, Servlet, or Jsp.The interface can also be used for content containing other resources. Method of 1 RequestDispatcher ...

Posted by stevengunn on Sat, 14 Mar 2020 15:55:00 -0700

SpringBoot -- Schedule Tasks

Starting with Spring 3.1, the implementation of scheduled tasks in Spring has become unusually simple.First turn on support for scheduled tasks by configuring the class annotation @EnableScheduling, then annotate @Scheduled on the method of executing the collection task to declare that this is a scheduled task. Spring supports a variety of sche ...

Posted by wilzy on Fri, 14 Feb 2020 09:07:13 -0800

Java Web advanced filter

Filter Chapter 1 basic use of filter 1. Initial filter Filter - filter: Filter is a component of J2EE Servlet module The function of Filter is to block URL s in a unified way Filter is usually used for global processing at the application level Three elements of filter development: *Any filt ...

Posted by robot43298 on Wed, 29 Jan 2020 06:47:14 -0800

Source code decryption of spring MVC startup process

As we know, spring MVC is finally deployed through Tomcat. When the application is deployed in the Servlet, the main steps are (reference from http://download.oracle.com/otn-pub/jcp/Servlet-3.0-fr-eval-oth-jspec/Servlet-3_-final-spec.pdf): When a web application is deployed into a container, the follow ...

Posted by imurkid on Mon, 20 Jan 2020 05:11:51 -0800

13. Using Spring container under Spring web project

QQ group: Java data sharing group 59174518 Suppose we create the ApplicationContext container according to the method we learned @Test public void fun1() { // 1. First, create the container, ApplicationContext applicationContext = new ClassPathXmlApplicationContext("ApplicationContext.xml"); // ...

Posted by mrinfin1ty on Thu, 26 Dec 2019 09:29:19 -0800

Front and Back End Separation of Java Projects - Spring MVC Configuration of html View Parser

Links to the original text: https://blog.csdn.net/qq_38355456/article/details/73603602 Based on the separation of the front and rear parts of the project, it does not use the backend template engine, so what is the end of.jsp,.vm templat ...

Posted by fantic on Tue, 08 Oct 2019 23:54:27 -0700