About Question enthuware.jwpv6.2.598 :
Posted: Sun Aug 12, 2012 11:35 am
Answer E.Filters will not be applied to the request and response upon a call to asyncContext.dispatch("/jsp/somepage.jsp").
"Filters are applied on the original request and response objects. Any filter or servlet in the chain of filters may create request or response wrappers on the way in. However, unlike request dispatcher's forward/include calls, filters are not applied in dispatch."
How can we say Filters cannot be applied?
<filter-mapping>
<dispatcher>ASYNC</dispatcher>
</filter-mapping>
"Filters are applied on the original request and response objects. Any filter or servlet in the chain of filters may create request or response wrappers on the way in. However, unlike request dispatcher's forward/include calls, filters are not applied in dispatch."
How can we say Filters cannot be applied?
<filter-mapping>
<dispatcher>ASYNC</dispatcher>
</filter-mapping>