Hello,

> Could you please explain, how would I deal with relative URIs, may be there is
> simple way to validate if the URI is relative and how to handle it?

The HttpClient URI class as well as the JDK URI and URL classes have
constructors that deal with relative URLs. For example this one:
http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/URI.html#URI(org.apache.commons.httpclient.URI,%20java.lang.String,%20boolean)

Pass in the target URL of the request as the base URL.

hope that helps,
  Roland


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

Reply via email to