Operands and forms of components of JavaScript

Article directory 1. Components of JavaScript 2. Operate BOM object 1).Window 2) . navigator 3).screen 4).location 5).document 6).history 3. Operate DOM object 1) . get dom node 2) . update node 3) . insert node 4) . delete node 4. Operation form 1. Components of JavaScript JavaScript consti ...

Posted on Mon, 10 Feb 2020 10:00:39 -0500 by Kerry Kobashi

Getting started with Spring MVC demo

(1) New Spring project         (2) Add the required jar package spring's 5 + 2: spring-core.jar spring.beans.jar spring-context.jar spring-expression.jar spring-aop.jar     spring-web.jar spring-webmvc.jar (these two jar packages are spring mvc's)     Two web applications: servlet.jar jsp.jar The names of these two packages are various. ...

Posted on Wed, 29 Jan 2020 05:48:07 -0500 by nick314

EL custom function of javaweb

1. What is EL custom function EL custom function is a static method of a java class called in EL expression. This static method needs to be configured in web application before it can be called by EL expression. El custom function can extend the function of El expression and let El expression complete the function that ordinary java program cod ...

Posted on Tue, 10 Dec 2019 16:25:51 -0500 by jkmcgrath

Spring MVC response view

Complete project case: springmvc.zip Catalog   Example In addition to relying on spring webmvc, you also need to rely on Jackson databind (used to transform json data format) <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.9.6</versi ...

Posted on Sun, 08 Dec 2019 19:02:39 -0500 by peDey

Understanding and solving Java Concurrent modification exception

I don't know if the reader has encountered the similar exception information Exception in thread "main" java.util.ConcurrentModificationException in the process of Java development. The following is a brief introduction to the cause of the exception and the improvement method of the exception. The content is very simple. If there is a ...

Posted on Mon, 18 Nov 2019 09:42:26 -0500 by dgiberson

Java Description Design Patterns (19): Template Method Patterns

Source code for this article: GitHub. Click here || GitEE. Click here 1. Life Scene Usually the development process for an Internet application is as follows: business requirements, planning products, program development, test delivery.This process is now described based on the template method pattern. public class C01_InScene { public sta ...

Posted on Thu, 14 Nov 2019 20:08:44 -0500 by LacOniC

Basic configuration of spring MVC

Record the steps to build the spring MVC framework I. create a new Java Web project, springmvc1, and import the jar package in lib This project uploads GitHub, which is convenient to download jar package https://github.com/yeyangtao/springmvc 2. web.xml file under Web inf Among them, serve name's spingmvc will be used in the next step. ...

Posted on Sat, 09 Nov 2019 10:45:44 -0500 by Saeven

Two traversal methods of nested map set in java learning notes

Preface The traversal method of nested map set is still keySet and entrySet, one by one case //Define a collection to save the student ID and name of Java EE students //Define a set to save the student number and name of Ui //Define a set to save the student number and name of the web Map&l ...

Posted on Wed, 30 Oct 2019 13:07:58 -0400 by MA06

Simple configuration of spring security and detailed explanation of some tags

1. Importing dependency in pom.xml file <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-web</artifactId> <version>4.1.0.RELEASE</version> </dependency> <dependency> <groupId>org.springfr ...

Posted on Thu, 17 Oct 2019 14:15:55 -0400 by Stryker250

Spring cloud learning: the simplest way to build a spring cloud

References: [JavaEE] Five minutes to build Spring Cloud environment and enter the era of micro-services Thank you for leading you into the Spring cloud world. The main purpose of this blog is to record your learning of Spring cloud and to organize your knowledge. It would be better if you could help more young people. ps: This article is ma ...

Posted on Wed, 09 Oct 2019 17:20:35 -0400 by dbrown