You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Arion Yu <ar...@metrowalker.com> on 2002/10/28 05:36:57 UTC

Question about Intercepting Filter

Hi all,

What should be the best approach to implement the "Intercepting Filter"
(from Core J2EE Patterns) for Struts 1.0.2 running in Servlet 2.2 Container?

Thanks

Arion


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Question about Intercepting Filter

Posted by Andrew Hill <an...@gridnode.com>.
Dont think servlet 2.2 supports filters right?
You best bet in that case is to override ActionServlet (for struts 1.02) or
the RequestProcessor (for struts 1.1).
Take a look at the source code and javadocs to see what methods you need to
override for the functionality you are after.
(Nb: you will only be able to intercept requests that go through the
ActionServlet this way. If you need to intercept other requests as well (ie:
direct jsp access etc...) you will need to do something extra for those)

-----Original Message-----
From: Arion Yu [mailto:arion.yu@metrowalker.com]
Sent: Monday, October 28, 2002 12:37
To: struts-user@jakarta.apache.org
Subject: Question about Intercepting Filter


Hi all,

What should be the best approach to implement the "Intercepting Filter"
(from Core J2EE Patterns) for Struts 1.0.2 running in Servlet 2.2 Container?

Thanks

Arion


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>