Re: Way to get Reference to Servlet from Filter?

2003-12-19 Thread Sean Dockery
"I've got a fever... and the only cure is more cowbell!" LOL. :-D "Tim Funk" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You won't be able to get the servlet reference. A possibility is to define > the filter multiple times with different parameters. For example, here is the >

RE: Way to get Reference to Servlet from Filter?

2003-12-19 Thread Shapira, Yoav
Howdy, >> You won't be able to get the servlet reference. A possibility is to >> define the filter multiple times with different parameters. For example, >> here is the same class name defined 4 times as 4 different filters. > >Good idea. Thanks for the helpful response. Since I can't get a >re

Re: Way to get Reference to Servlet from Filter?

2003-12-19 Thread Seth Ladd
Tim Funk wrote: You won't be able to get the servlet reference. A possibility is to define the filter multiple times with different parameters. For example, here is the same class name defined 4 times as 4 different filters. Good idea. Thanks for the helpful response. Since I can't get a refer

RE: Way to get Reference to Servlet from Filter?

2003-12-19 Thread Shapira, Yoav
Howdy, >I don't think this is possible, but I'm giving it a shot anyway. :) > >I'd like to get ahold of a servlet reference from within a filter. Is >there a way? Your intuition is right in this case -- the above is impossible (using only the Servlet APIs -- it IS possible [though not trivial]

Re: Way to get Reference to Servlet from Filter?

2003-12-19 Thread Tim Funk
You won't be able to get the servlet reference. A possibility is to define the filter multiple times with different parameters. For example, here is the same class name defined 4 times as 4 different filters. filter1 more.Cowbell my attribute filter2 more.Cowbell fil

Way to get Reference to Servlet from Filter?

2003-12-18 Thread Seth Ladd
Hello, I don't think this is possible, but I'm giving it a shot anyway. :) I'd like to get ahold of a servlet reference from within a filter. Is there a way? I have a filter that creates objects and places them within the request scope, but it does it differently for each end-result servlet.