Re: [Htmlparser-user] Having Proxy ,need to SET SYSTEM PROPERTY(URGENT)
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2003-01-16 07:35:18
|
You could try passing the proxy params into the jvm like so : java -Dhttp.proxyHost 192.232.23... -Dhttp.proxyPort 43 -jar htmlparser.jar From within java, put this before your application makes the connection : System.getProperties().put("proxyHost","192.344.3.."); System.getProperties().put("proxyPort","43"); Bytway, you could also get a direct url connection by specifying the url in the c'tor (instead of using BufferedStream). Regards, Somik ----- Original Message ----- From: "anumodh narayanan kutty" <anu...@ho...> To: <htm...@li...> Sent: Wednesday, January 15, 2003 11:19 PM Subject: [Htmlparser-user] Having Proxy ,need to SET SYSTEM PROPERTY(URGENT) > Hello Somik, > > I used your htmlparser to get links,and suceeded, but for that I > read it from a file.I want to read from directly from URL, using > BufferedStream, which I did already using my code, by setting the SYSTEM > PROPERTY for PROXY.I couldn't find that in your Connect code, > Will that work with out setting SYSTEM PROPERTY,because I have PROXY in > between. > > ANUMODH > > > > > > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* > http://join.msn.com/?page=features/virus > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: A Thawte Code Signing Certificate > is essential in establishing user confidence by providing assurance of > authenticity and code integrity. Download our Free Code Signing guide: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user |