Re: Altering the request URI in a filter through HttpServletRequestWrapper

2003-01-23 Thread Jan Ploski
> To: [EMAIL PROTECTED] > > Subject: Re: Altering the request URI in a filter through > > HttpServletRequestWrapper > > > > I haven't looked to see why you are getting this particular error message, > > but the basic idea shouldn't work. Before your Filt

Re: Altering the request URI in a filter through HttpServletRequestWrapper

2003-01-22 Thread Craig R. McClanahan
On Wed, 22 Jan 2003, Bill Barker wrote: > Date: Wed, 22 Jan 2003 22:27:54 -0800 > From: Bill Barker <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: Altering the request URI in a filter through > H

Re: Altering the request URI in a filter through HttpServletRequestWrapper

2003-01-22 Thread Bill Barker
I haven't looked to see why you are getting this particular error message, but the basic idea shouldn't work. Before your Filters are invoked, Tomcat has already decided on which Servlet should handle the request at the end of the pipeline. Changing the requestURI and servletPath at this stage sh

Re: altering the request URI in a filter

2002-09-03 Thread jfc
you want to do something inside of Struts, you'll have to make do with >the RequestDispatcher, as someone else suggested. > >-- >Martin Cooper > > >>-Original Message- >>From: jfc [mailto:[EMAIL PROTECTED]] >>Sent: Tuesday, September 03, 2002 6:26 AM

Re: altering the request URI in a filter

2002-09-03 Thread jfc
;>Sent: Tuesday, September 03, 2002 6:26 AM >>To: Tomcat Users List >>Subject: Re: altering the request URI in a filter >> >> >>Martin Cooper wrote: >> >>>>-Original Message----- >>>>From: jfc [mailto:[EMAIL PROTECTED]] >>>&g

Re: altering the request URI in a filter

2002-09-03 Thread jfc
Cox, Charlie wrote: >>>I'm getting >>> >>>java.lang.IllegalStateException: Cannot forward after response has >>>been committed >>> >>>... etc >>> >>>At the end of my filter's doFilter method I am doing the following: >>> >>> if(stripped){ >>> RequestDispatcher rd = >>>request.ge

RE: altering the request URI in a filter

2002-09-03 Thread Martin Cooper
ke do with the RequestDispatcher, as someone else suggested. -- Martin Cooper > -Original Message- > From: jfc [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 03, 2002 6:26 AM > To: Tomcat Users List > Subject: Re: altering the request URI in a filter &g

RE: altering the request URI in a filter

2002-09-03 Thread Cox, Charlie
> > I'm getting > > > > java.lang.IllegalStateException: Cannot forward after response has > > been committed > > > > ... etc > > > > At the end of my filter's doFilter method I am doing the following: > > > >if(stripped){ > >RequestDispatcher rd = > > request.getRequestDispa

Re: altering the request URI in a filter

2002-09-03 Thread jfc
jfc [mailto:[EMAIL PROTECTED]] >>> Sent: Tuesday, September 03, 2002 9:26 AM >>> To: Tomcat Users List >>> Subject: Re: altering the request URI in a filter >>> >>> >>> Martin Cooper wrote: >>> >>>>> -Original Messag

Re: altering the request URI in a filter

2002-09-03 Thread jfc
ber 03, 2002 9:26 AM >>To: Tomcat Users List >>Subject: Re: altering the request URI in a filter >> >> >>Martin Cooper wrote: >> >>>>-Original Message- >>>>From: jfc [mailto:[EMAIL PROTECTED]] >>>>Sent: Monday, S

RE: altering the request URI in a filter

2002-09-03 Thread Cox, Charlie
gt; Subject: Re: altering the request URI in a filter > > > Martin Cooper wrote: > > > > >>-Original Message- > >>From: jfc [mailto:[EMAIL PROTECTED]] > >>Sent: Monday, September 02, 2002 1:51 AM > >>To: Tomcat Users List > &g

Re: altering the request URI in a filter

2002-09-03 Thread jfc
Martin Cooper wrote: > >>-Original Message- >>From: jfc [mailto:[EMAIL PROTECTED]] >>Sent: Monday, September 02, 2002 1:51 AM >>To: Tomcat Users List >>Subject: Re: altering the request URI in a filter >> >> > >[snip] > >>H

RE: altering the request URI in a filter

2002-09-02 Thread Martin Cooper
> -Original Message- > From: jfc [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 02, 2002 1:51 AM > To: Tomcat Users List > Subject: Re: altering the request URI in a filter > > [snip] > Hi, > > Thanks for the reply. How can I actually set the ne

Re: altering the request URI in a filter

2002-09-02 Thread jfc
Bill Barker wrote: >"jfc" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >>Hi, >> >>Tomcat 404, jdk1.3: >> >>Is it possible to alter the request's URI after authentication but >>before the request is delegated to a Struts action mapping? >> > >The beauty of F

Re: altering the request URI in a filter

2002-09-01 Thread Bill Barker
"jfc" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Tomcat 404, jdk1.3: > > Is it possible to alter the request's URI after authentication but > before the request is delegated to a Struts action mapping? The beauty of Filters is that anything is pos