> 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
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
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
Hello,
I would like to alter the request URI in my ServletFilter to intercept
requests to resources that should only be available to logged in users.
I have found a solution in the archive:
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg64446.html
which basically suggests to term
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
;>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
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
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
> > 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
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
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
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
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
> -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
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
"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
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?
I would like to be able to strip a string from the request URI which is
there solely for the purposes of enforcing the web container to obtain
17 matches
Mail list logo