Hello Gao,

Could you be more specific about what you're trying to do?  Also
please take a look at the HttpClient 3.0 redirection guide
<http://jakarta.apache.org/commons/httpclient/redirects.html>.

Mike

On 6/30/05, gao junhua <[EMAIL PROTECTED]> wrote:
> Hello,
>   Which parameter could i use to set the redirect true?
> 
>   Currently,i user
>        Header header = httppost.getResponseHeader("location");
>        String newuri = header.getValue();
> 
>   to get the real url and then create and fileoutputStream to get the
> content of newuri.
> 
> 
>   But i think my current method is not good,who can tell me the parameter we
> can set?
> 
>   Thanks in advance.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to