jsr340-experts@servlet-spec.java.net

[jsr340-experts] Re: SERVLET_SPEC-19

From: Rajiv Mordani <rajiv.mordani_at_oracle.com>
Date: Mon, 11 Feb 2013 13:31:45 -0800

Actually in thinking about this - since the listeners are exposed to
developers, it will break backward compatibility adding these new
methods to the listener. Not sure if I want to add these to the
ServletRequestListener.

- Rajiv

On 2/11/13 1:27 PM, Rajiv Mordani wrote:
> In looking at issue SERVLET_SPEC-19 [1] the proposal is to add the
> following two methods to ServletRequestListener -
>
> /**
> * Receives notification that a ServletRequest is about to be
> * forwarded.
> *
> * @param sre the ServletRequestEvent containing the ServletRequest
> * and the ServletContext representing the web application
> */
> public void requestForwarded(ServletRequestEvent sre);
>
> /**
> * Receives notification that a ServletRequest is about to be
> * included.
> *
> * @param sre the ServletRequestEvent containing the ServletRequest
> * and the ServletContext representing the web application
> */
> public void requestIncluded(ServletRequestEvent sre);
>
>
>
> Please let me know if you see any issues with this.
>
>
> [1] http://java.net/jira/browse/SERVLET_SPEC-19
> <http://java.net/jira/browse/SERVLET_SPEC-19>
>
> Thanks
>
> - Rajiv
>