Leo Sutic wrote on Friday, October 24, 2003 10:25 AM:
> To be servlet-specific:
> 
>     public interface RequestContextProvider {
>         public Request getRequest ();
>         public Session getSession ();
>     }
> 
>     public interface RequestContextAware {
>         public void setRequestContextProvider (
>             RequestContextProvider provider);
>     }

To be JSP specific:

Use the existing PageContext interface and create a PageContextAware like above, then 
you've support for servlets *and* JSPs.

Regards,
J�rg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to