直以来, On 11/6/23 06:25, 一直以来 wrote:
What can I do to see that the request is reused, using what settings?
What problem are you trying to solve? -chris
------------------ Original ------------------ From: Mark Thomas <ma...@apache.org> Date: Mon,Nov 6,2023 5:45 PM To: users <users@tomcat.apache.org> Subject: Re: tomcat 10 On 06/11/2023 06:46, 一直以来 wrote: > Why do I print System. out. println (request) as different objects in the servlet for the request in tomcat10? Is the request object not reused in tomcat10? There is a pool of cached request objects. Each request is also accessed via a facade (which is probably what you are seeing). Depending on settings, those facades may be reused or discarded between requests. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org