Tomcat configuration (2)

xiaoxiao2021-03-06  67

Session timeout setting Set the expiration time of the session, unit is minute; 30

Filter settings

filter Project4. Filtersource filterSource / wwwservlet ( / haha ​​/ * )

Filtering: 1) Filtering Authentication Filters 2) Log and Auditing Logging and Auditing Filters 3) Image Transformation Image Conversion Filters 4) Data Compressed Filter Data Compression Filters 5) Encrypted Filter ENCRYPTION FILTERS 6) Tokenizing Filters 7 ) Filtered Filters Trigger Resource Access Events 8) XSL / T Filter XSL / T Filters 9) Filter MIME-TYPE CHAIN ​​FILTER Note The order of the listener, such as: First safe filter, then resource, then The content type, etc., this order can be fixed, but it is best to reasonably.

The list of listeners project4.sallistenerServlet listener is divided into four, respectively: ServletContextListener: Search for the creation and destruction of the context (global) object to monitor servletContextTributeListener: Signing HttpSessionListener: HttpSessionTtributeListener: HttpSessionAttributeListener: HttpSessionAttributeListener is listed on the creation and destruction of Session: Sign up, replace, delete the session, replace, delete

转载请注明原文地址:https://www.9cbs.com/read-120017.html

New Post(0)