Section 4. Servlet Technology
Servlet, features and lifecycle
Servlet is a server-side application written by Java classes. It is usually a program running on the server side. You can call one by opening the browser. It can be regarded as an intermediate layer between the client and the server, which is responsible for receiving and requesting the response of the cl ...
Posted by stalione on Tue, 21 Dec 2021 19:21:33 +0100
java implementation of web project blog management system
Blog system
The front page is based on html+css+js
The back-end implementation is based on servlet +themthefe
1. Demand analysis
Before software development, first analyze the requirements. Understand what needs to be achieved
Functions to be realized by blog system:
1. Be able to display the current blog list Blog list page, showing a lo ...
Posted by xydra on Sun, 19 Dec 2021 21:55:10 +0100
Servlet learning phase II
HttpServletRequest class
What is the role of the HttpServletRequest class
Every time a Request enters the Tomcat server, the Tomcat server parses and encapsulates the requested HTTP protocol information into the Request object. Then it is passed to the service methods (doGet and doPost) for us to use. We can get the information of all request ...
Posted by railanc4309 on Thu, 09 Dec 2021 17:37:00 +0100
EL and JSTL of Jsp and Servlet
1, Basic syntax of EL expression
1.EL expression syntax is very simple. It starts with "${" and ends with "}". The middle is a legal expression. The specific syntax format is as follows:
${expression}
expression: used to specify the content to be output. It can be a string or an expression c ...
Posted by Foser on Sat, 04 Dec 2021 00:57:14 +0100
Introduction to Servlet foundation of JavaWeb detailed explanation (Part I)
Introduction to Servlet foundation of JavaWeb detailed explanation (Part I)
1. Overview of Serlvet
Servlet is a java program running on the web server or application server. It is an intermediate layer responsible for connecting applications from web browsers or other HTTP clients and HTTP servers. It is a technology provi ...
Posted by steelerman99 on Sun, 24 Oct 2021 05:02:37 +0200
[Jsp] lesson 3 common objects of Servlet
In the process of learning Servlet Technology, many common objects need to be used, and their usage is also very important. Here we first introduce the first common object, ServletConfig.
summary
1.
In the Servlet configuration file, you can use one or more < init param > tags to configure some initialization parameters for the Servl ...
Posted by thna_brianb on Sun, 10 Oct 2021 05:24:48 +0200