Nine built-in objects of JSP in JavaWeb
3, Nine built-in objects of JSP
What are built-in objects? The built-in objects of JSP refer to the built-in Java objects in the JSP page system by default. These objects can be used without explicit declaration by developers. In JSP pages, you can access each other with JSP pages and Servlet environment by accessing JSP built-in objects. Each ...
Posted by StormTheGates on Wed, 02 Feb 2022 19:10:02 +0100
Details of Java Web phase Response
Response
The response object represents the response message returned by the web server to the browser Developers can use the relevant methods of the response object to set the corresponding information to be returned to the browser
Set response line
void setStatus(int sc) sets the status code
Set response header
void setHeade ...
Posted by ChrisBull on Sun, 30 Jan 2022 12:44:38 +0100
Java Web supplement: the difference between request forwarding, request inclusion and request redirection
Request forwarding
Request forwarding: after a request from the client arrives, it is found that other servlets are needed to realize the function.
The client browser sends a request to servlet a to realize some functions with the help of servlet a, but servlet a cannot complete this function. At this time, it finds that servlet B can real ...
Posted by mike_y on Fri, 19 Nov 2021 09:19:32 +0100