You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Schachter, Michael" <MS...@Bluestone.com> on 2001/01/11 20:11:16 UTC

Filters and Struts

Hi,

How does everybody feel about using Filters (a Servlet 2.3 thing) inside of
Struts for 1.1?

Re: Filters and Struts

Posted by Chris Miller <ki...@vardus.com>.
Sounds great, and I can't see how anyone could possibly have any serious
objections to this.

So... objections, anyone?...

<waiting>...

<waiting>...

Nope? Good, it's a go then! ;-)


----- Original Message -----
From: "Craig R. McClanahan" <Cr...@eng.sun.com>
To: <st...@jakarta.apache.org>
Sent: Thursday, January 11, 2001 8:30 PM
Subject: Re: Filters and Struts


> Chris Miller wrote:
>
> > Yes please!
> >
> > However, I would imagine that a significant number of people will still
be
> > using servlet 2.2 engines for some time to come, so I would imagine the
> > functionality would have to be optional, intially at least.
> >
>
> Besides filters (which are quite kewl) there are other servlet-2.3-isms
(and
> JSP-1.2-isms) that we will eventually want to leverage:
>
> * Application events (no more need for things like DatabaseServlet
>   to initialize application objects)
>
> * The ability to wrap the request and response objects that you pass
>   to a request dispatcher (or to the next filter in the chain) to
customize
>   processing.
>
> * New JSP 1.2 features to make custom tags simpler.
>
> However, since the specs are not yet final, it may be a little bit early
to make
> these features required for basic Struts functionality.  Ideally, we can
arrange
> to use them for optional Struts features that are compiled only if you
have the
> new API on your classpath (Ant has facilities for doing this -- it just
takes
> diligent organization of your source packages and build script).
>
> Craig
>
>
> >
> > ----- Original Message -----
> > From: "Schachter, Michael" <MS...@Bluestone.com>
> > To: <st...@jakarta.apache.org>
> > Sent: Thursday, January 11, 2001 7:11 PM
> > Subject: Filters and Struts
> >
> > > Hi,
> > >
> > > How does everybody feel about using Filters (a Servlet 2.3 thing)
inside
> > of
> > > Struts for 1.1?
> > >
> > >
>
>
>


Re: Filters and Struts

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Chris Miller wrote:

> Yes please!
>
> However, I would imagine that a significant number of people will still be
> using servlet 2.2 engines for some time to come, so I would imagine the
> functionality would have to be optional, intially at least.
>

Besides filters (which are quite kewl) there are other servlet-2.3-isms (and
JSP-1.2-isms) that we will eventually want to leverage:

* Application events (no more need for things like DatabaseServlet
  to initialize application objects)

* The ability to wrap the request and response objects that you pass
  to a request dispatcher (or to the next filter in the chain) to customize
  processing.

* New JSP 1.2 features to make custom tags simpler.

However, since the specs are not yet final, it may be a little bit early to make
these features required for basic Struts functionality.  Ideally, we can arrange
to use them for optional Struts features that are compiled only if you have the
new API on your classpath (Ant has facilities for doing this -- it just takes
diligent organization of your source packages and build script).

Craig


>
> ----- Original Message -----
> From: "Schachter, Michael" <MS...@Bluestone.com>
> To: <st...@jakarta.apache.org>
> Sent: Thursday, January 11, 2001 7:11 PM
> Subject: Filters and Struts
>
> > Hi,
> >
> > How does everybody feel about using Filters (a Servlet 2.3 thing) inside
> of
> > Struts for 1.1?
> >
> >


Re: Filters and Struts

Posted by Chris Miller <ki...@vardus.com>.
Yes please!

However, I would imagine that a significant number of people will still be
using servlet 2.2 engines for some time to come, so I would imagine the
functionality would have to be optional, intially at least.


----- Original Message -----
From: "Schachter, Michael" <MS...@Bluestone.com>
To: <st...@jakarta.apache.org>
Sent: Thursday, January 11, 2001 7:11 PM
Subject: Filters and Struts


> Hi,
>
> How does everybody feel about using Filters (a Servlet 2.3 thing) inside
of
> Struts for 1.1?
>
>