Java Learning (Collection Framework)

Set framework Overview: Array length is fixed, when the added elements exceed the length of the array, we need to redefine the array. It's too troublesome. Java provides us with collection classes, which can store arbitrary objects. The length can be changed. It increases with the increase of elements and decreases with the decrease of element ...

Posted on Sat, 25 May 2019 15:57:26 -0700 by maskme

Servlet and HTTP Introduction Learning

http introduction: http is a set of specifications, a standard protocol for network data interaction, different languages, different data to achieve reasonable data interaction (for example, browser and server data interaction), you have to follow the protocol he prescribed, so that a standard (everyone knows) data interaction will be formed. ...

Posted on Wed, 08 May 2019 06:00:39 -0700 by daveh33

Basic knowledge of servlet 1

1. Cognition of Java Servlet 1.1 Concepts related to Web development Web servers: Tomcat, Apache, ngix, IIS Web browsers: Google Chrome, Mozilla FireFox, Apple Safari, Microsoft Edge, IE HTTP: HyperText Transfer Protocol Hypertext Transfer Protocol HTML: HyperText Markup Language Hypertext Markup Language 1.2 What is Ser ...

Posted on Sat, 04 May 2019 08:40:38 -0700 by cirko

Servlet in WEB Application Development

Basic Knowledge and Use Method of Servlet ---------------------------------First--------------------------------- I. Servlet Foundation 1.1 What is a Servlet Servlet is a basic component specification, which belongs to Java Web as well as JSP, Filter, Tag and Listener. Servlet s are generally used as the control layer to handle requests fr ...

Posted on Thu, 11 Apr 2019 23:00:33 -0700 by jpopuk

SSM Framework - web.xml File Configuration

I. web.xml Loading Process When we start a WEB project container, the container includes (JBoss,Tomcat, etc.). The first step is to read the configuration in the web.xml configuration file. When this step is correct and completed, the project can be started normally. When starting a WEB project, the container first reads two ...

Posted on Tue, 02 Apr 2019 10:30:29 -0700 by websesame

Java Threads: ThreadLocal Thread Local

First of all, the ThreadLocal stored values are shared within threads and mutually exclusive between threads. They are mainly used to share some data within threads and avoid passing through parameters. After processing, some practical problems can be solved gracefully, such as hibernate The OpenSession InView in ThreadLocal is used to save S ...

Posted on Thu, 21 Mar 2019 22:36:53 -0700 by ab4net

IntelliJ idea does not use Maven's method of creating Spring + Spring MVC + Hibernate

Without Maven, create SSH (Spring + Spring MVC + Hibernate): IntelliJ idea tomcat New Project Select [Spring]: Spring, Spring MVC, Web Application, Application Server, Hibernate Spring and Spring MVC: You need to choose download to download the relevant jar Web Application: A new web.xml configuration file will be created under webapp-WEB- ...

Posted on Wed, 13 Feb 2019 11:42:18 -0800 by budz

Java implements app interface and Socket messaging (6)servlet mapping and returns Json data

Original: http://blog.csdn.net/iwanghang1. Set up Servers, depending on the Tomcat you installed.2. Select the Tomcat path. JRE version can choose project default or your own JRE. 3. Go straight to the next step, because there is no project yet. Later we created the project to add. 4. Create a dynamic WEB project. 5. Make any name. My name i ...

Posted on Fri, 08 Feb 2019 01:21:18 -0800 by metin