[JAVA] [Servlet] Listeners and filters

Listener

Filter Common processing can be put together It is possible to set multiple filters in one Servlet class (this is called ** filter chain **)

Example of use) -In the case of a servlet class that is premised on being logged in, by creating a filter that checks the login status and setting it in each Servlet, it is not necessary to describe the process that checks the login in each Servlet.

Recommended Posts

[Servlet] Listeners and filters
Servlet