* @Autord: HuangDekai
* @Date: 2020/4/28 22:41
* @Version: 1.0
* @since: jdk11
public class OnlineCountListener imple ...
Added by vin_akleh on Wed, 29 Apr 2020 18:08:47 +0300
New features of common objects List-JDK5
day16Java - Summary of common objects
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
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
I. Pr ...
Added by GinsBabu on Tue, 10 Mar 2020 06:00:45 +0200
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
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
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
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
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
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
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