About Question enthuware.jwpv6.2.827 :
Posted: Tue Feb 11, 2014 10:56 am
Hi.
Due to the Servlet 3 changes, won't both answers fail (specifically on the requirement that the attribute object is unavailable to other JSP pages)?
1. The request object (and attributes) are retrievable via AsyncContext (getRequest()) and can therefore be used in any page?
2. The query string can be made available in the same way via the AsyncContext dispatch() methods?
Also the AsyncListener objects can retrieve the request attributes and are specifically able to use them for onError processing (e.g. in possible error pages).
Thanks.
Due to the Servlet 3 changes, won't both answers fail (specifically on the requirement that the attribute object is unavailable to other JSP pages)?
1. The request object (and attributes) are retrievable via AsyncContext (getRequest()) and can therefore be used in any page?
2. The query string can be made available in the same way via the AsyncContext dispatch() methods?
Also the AsyncListener objects can retrieve the request attributes and are specifically able to use them for onError processing (e.g. in possible error pages).
Thanks.