Are jsp PageContext objects created and destroyed as part of the http request-response cycle or are they cached and reused between requests.
PageContext has life-cycle methods that suggest reuse between requests. ie initialize(), release().
If they are reused this could pose serious concurrency problems: if two http requests arrive, requesting the same jsp page, and each request is processed by its own thread, but sets attributes on a shared PageContext object, they will render each others' content.
Any help appreciated. By the way I am using the servlet container embedded in Apache Sling.