posted 12 years ago
I want to have data with request scope where I can control the lifecycle. Obviously I can determine when the data is first added to the request, so I know the beginning of the lifecycle. However, how do I know when the lifecycle is over? I don't want each JSP and Servlet to have to know if it is the last user of the request in order to explicitly do end-of-life cleanup. Is there some other way I can do this?