New features of day16Java common object List-JDK5 (generic, enhanced for, static import, variable parameters)

New features of common objects List-JDK5 Blog name link day16Java - Summary of common objects https://blog.csdn.net/qq_40332952/article/details/104805557 Enhanced for New features of JDK5: Auto unpacking, generics, enhanced for, static import, variable parameters, enumeration Enhanced for: is ...

Added by bb_xpress on Tue, 17 Mar 2020 07:10:59 +0200

java server development servlet: 2. Input, read and output employee data. get and post submission methods

Catalog I. Preface 2, Input, read and output employee data. get and post submission methods 1. HTML form submission Code: addEmp.html 2. Profile code: web.xml 3. Java code: AddEmpServlet.java 4. Effect demonstration (1) post submission method (2) get submission method (3) Description I. Pr ...

Added by GinsBabu on Tue, 10 Mar 2020 06:00:45 +0200

IoC and DI of Spring

Preface This article summarizes the following understanding of Servlet, Filter, ServletContextListener through the previous articles. Now learn to develop the SpringMVC framework based on Servlet technology.Understand the Spring framework before learning Spring MVC. To understand Spring, you need to start with what Spring is, what Spring can do ...

Added by plasmahba on Wed, 04 Mar 2020 18:06:32 +0200

MapReduce practice handwritten WordCount case

Requirement: count the total number of occurrences of each word in a given stack of text files As shown in the figure below is the analysis chart of MapReduce statistical WordCount: The map stage reads the data from the file, the line number is the key, and the read value of each line is the value. Each key/value pair is ou ...

Added by jber on Tue, 10 Dec 2019 22:02:08 +0200

Servlet initialization parameters (Servlet2.5,3.0)

I. use servlet 2.5 to initialize parameters Servlet 2.5 is configured based on xml, so it is configured in xml. Servlet 3.0 started to support annotation configuration. There are two kinds of configurations: valid in the current Servlet and valid in the entire web container. When the entire web contai ...

Added by dgrinberg on Tue, 22 Oct 2019 21:27:51 +0300

Produce WebLogic deployment, develop web.xml configuration pits caused by Tomcat

Finishing the cloud payment platform project, because it was not urgent to go online, and went to do other projects, which delayed for a month, and then suddenly need to go online, the production environment is the deployment of WebLogic, originally good project, lead to war bag lost to production, t ...

Added by Hitch54 on Thu, 10 Oct 2019 10:15:36 +0300

Forbid Cookie to use Session, Rewrite URL, Specific Solution

Let's first describe the implementation principle of session. session server provides a memory area for each client to access, which can store some operation information of some clients. Normally, sessions survive during the process of users accessing the server through the client until the client ...

Added by daijames on Sun, 04 Aug 2019 11:14:21 +0300

Parsing xml files using SAX

SAX parsing using JAXP (XMLReaderFactory, XMLReader, SAXParserFactory, and SAXParser) 1. We do this through XMLReaderFactory, XMLReader, as follows 1.adopt XMLReaderFactory Establish XMLReader object XMLReader reader = XMLReaderFactory.createXMLReader(); 2. Set Event Processor Object reader.setContentHandler(new MyDefaultHandler()); ...

Added by Warz on Sat, 13 Jul 2019 20:50:02 +0300

Java Servlet Detailed Tutorial

Servlets are Java classes that comply with the Java Servlet API, and these Java classes can respond to requests. Although Servlets can respond to any type of request, they are most widely used in response to web requests. Servlets must be deployed in Java servlet containers before they can be used. Although many developers use it Java Server Pa ...

Added by nca on Tue, 02 Jul 2019 00:49:02 +0300

Identify id and name in bean s in Spring MVC

Spring MVC is a follow-up product of Spring Framework Work and has been integrated into the Spring Web Flow.The Spring framework provides a full-featured MVC module for building Web applications.Using Spring pluggable MVC architecture, you can choose to use Spring's Spring MVC framework or integrate other MVC development frameworks such as Stru ...

Added by EddieFoyJr on Sun, 09 Jun 2019 21:15:44 +0300