jim ma wrote:
Tell your clients to generate URLs like:
http://host/your_servlet?url=url_to_fetch
In other words you should implemet proxy that will handle redirects itself.
Finally, your clients will not see any 302 redirects.
I like this idea. It is greatly helpful , I think it works for my
> Tell your clients to generate URLs like:
> http://host/your_servlet?url=url_to_fetch
> In other words you should implemet proxy that will handle redirects itself.
> Finally, your clients will not see any 302 redirects.
I like this idea. It is greatly helpful , I think it works for my problem.
jim ma wrote:
The problem is that I can not simply correct that URL and
send it for the f
first time. The request url is generated by other application or in some
condition sometimes provided by user . The client side can not judge "
http://localhost:8080/foo"; is a request for "foo" re
On Fri, Nov 21, 2008 at 10:53 AM, Caldarale, Charles R <
[EMAIL PROTECTED]> wrote:
> > From: jim ma [mailto:[EMAIL PROTECTED]
> > Subject: Re: How to prevent Tomcat redirect my request
> >
> > If I get 302 response and write some code to resend
> > quest to t
jim ma wrote:
On Thu, Nov 20, 2008 at 10:24 PM, André Warnier <[EMAIL PROTECTED]> wrote:
jim ma wrote:
On Thu, Nov 20, 2008 at 6:48 PM, André Warnier <[EMAIL PROTECTED]> wrote:
Mikolaj Rydzewski wrote:
jim ma wrote:
I still want to know if it is possible to stop Tomcat from
redirectin
> From: jim ma [mailto:[EMAIL PROTECTED]
> Subject: Re: How to prevent Tomcat redirect my request
>
> If I get 302 response and write some code to resend
> quest to the redirected location
The point everyone's trying to make is that you should send the correct URL the
*firs
On Thu, Nov 20, 2008 at 10:24 PM, André Warnier <[EMAIL PROTECTED]> wrote:
> jim ma wrote:
>
>> On Thu, Nov 20, 2008 at 6:48 PM, André Warnier <[EMAIL PROTECTED]> wrote:
>>
>> Mikolaj Rydzewski wrote:
>>>
>>> jim ma wrote:
I still want to know if it is possible to stop Tomcat from
>>
jim ma wrote:
On Thu, Nov 20, 2008 at 6:48 PM, André Warnier <[EMAIL PROTECTED]> wrote:
Mikolaj Rydzewski wrote:
jim ma wrote:
I still want to know if it is possible to stop Tomcat from redirecting.
If
yes, that will be zero code effort for our current implementation.
Why is it a proble
On Thu, Nov 20, 2008 at 6:48 PM, André Warnier <[EMAIL PROTECTED]> wrote:
> Mikolaj Rydzewski wrote:
>
>> jim ma wrote:
>>
>>> I still want to know if it is possible to stop Tomcat from redirecting.
>>> If
>>> yes, that will be zero code effort for our current implementation.
>>>
>>>
>> Why is it
On Thu, Nov 20, 2008 at 6:48 PM, André Warnier <[EMAIL PROTECTED]> wrote:
> Mikolaj Rydzewski wrote:
>
>> jim ma wrote:
>>
>>> I still want to know if it is possible to stop Tomcat from redirecting.
>>> If
>>> yes, that will be zero code effort for our current implementation.
>>>
>>>
>> Why is it
On Thu, Nov 20, 2008 at 6:19 PM, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote:
> jim ma wrote:
>
>> I still want to know if it is possible to stop Tomcat from redirecting.
>> If
>> yes, that will be zero code effort for our current implementation.
>>
>>
> Why is it a problem for you to use http://
Mikolaj Rydzewski wrote:
jim ma wrote:
I still want to know if it is possible to stop Tomcat from
redirecting. If
yes, that will be zero code effort for our current implementation.
Why is it a problem for you to use http://localhost:8080/foo/ URL?
I agree with the above, but in case it is
jim ma wrote:
I still want to know if it is possible to stop Tomcat from redirecting. If
yes, that will be zero code effort for our current implementation.
Why is it a problem for you to use http://localhost:8080/foo/ URL?
--
Mikolaj Rydzewski <[EMAIL PROTECTED]>
-
Great thanks , Kees. I will try httpunit .
I still want to know if it is possible to stop Tomcat from redirecting. If
yes, that will be zero code effort for our current implementation.
Thanks
Jim
On Thu, Nov 20, 2008 at 5:51 PM, Kees Jan Koster <[EMAIL PROTECTED]> wrote:
> Dear Jim,
>
>
>
Dear Jim,
I deployed a web application "foo.war" into tomcat 5.x . When I used
httpclient to send post request to "http://localhost:8080/foo";, I
always
get the http 302 redirect response . How can I prevent Tomcat to
reply
redirect response and directly adding the slash to my request
ur
Hi all,
I deployed a web application "foo.war" into tomcat 5.x . When I used
httpclient to send post request to "http://localhost:8080/foo";, I always
get the http 302 redirect response . How can I prevent Tomcat to reply
redirect response and directly adding the slash to my request
url "http://
16 matches
Mail list logo