Servlet Part 4 [common methods and applications of request object]

What is HttpServletRequest The HttpServletRequest object represents the client's request. When the client accesses the server through the HTTP protocol, all the information in the HTTP request header is encapsulated in this object. Developers can obtain the client's information through the method of this object. Simply put, to get the browser ...

Added by jahstarr on Sat, 23 Oct 2021 11:38:07 +0300

Filter and Listener

Filter What is a filter A filter is essentially an intercept of web resources, a process that is done, then handed over to the next filter or servlet, usually a to intercept request s for inbound processing, or an intercept process for returned response s Filter Grammar Format 1. Create a class implementation interface public class Si ...

Added by classix16 on Wed, 29 Sep 2021 20:29:55 +0300