In another mailing list [for JMeter] there was a similar discussion. The
outcome was you can do it by setting property -Dhttp.proxy= (and I
think -Dhttp.proxy.port= ), so we may not need it in code.
However, I am very new on this list - havne't even ventured to install and
configure, so take my comments with a grain of salt :)
Mukul
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "JetSpeed" <[EMAIL PROTECTED]>
Sent: Wednesday, July 12, 2000 12:18 AM
Subject: RE: Proxy?
> ello,
>
> I visited that link and it's about how to code in java to use proxy host.
> What I am after is whether Jetspeed has built-in capability to do this so
> that all I need is to configure it.
>
> Anyway, I looked at Jetspeed's
> org\apache\jetspeed\util\download\URLFetcher.java file and found that it
> was not setting any property values when connecting to URL (then again, I
> maybe wrong), here is part of the code:
> try {
>
> URL content = new URL( url );
>
> content.getContent();
>
> InputStream is = content.openStream();
>
> return is;
>
> } catch ( Exception e ) { ...
>
> Is there any plan to add the proxy handling into jetspeed?
>
> cheers
> romen
>
>
> "Jim Nicholson" <[EMAIL PROTECTED]> on 11/07/2000 22:43:01
>
> Please respond to "JetSpeed" <[EMAIL PROTECTED]>
>
> To: "JetSpeed" <[EMAIL PROTECTED]>
> cc: (bcc: Romen Law/Australia/IBM)
> Subject: RE: Proxy?
>
>
>
>
> See
>
> http://forum.java.sun.com/forum?14@@.eec4bd8
>
> for info on using the System.getProperties() method to set up proxy
> authentication.
>
> - Jim
>
>
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
>
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]