www.products.com/image.jpg needs to exist for it to work.
 
-Bill Ensley
www.bearprinting.com


  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Ramachandran
Sent: Monday, January 08, 2007 12:46 AM
To: [email protected]
Subject: [iText-questions] Urgent:Fetching Image from URL Problem


Hi 
im using itext to generate PDF using web Appln...for that i need to fetch
image from an URL . 
while Running it showing error(not getting in to that site....if i used 
System.setProperty("http.proxyHost", "x.x.x.x"))its working correctly....i
dont want to use that 
set property instead i need to fetch directly from URL without using
property host settings.
 
 Image jpg2 = Image.getInstance(new URL(www.products.com/image.jpg));
 
I Tried for another site also...same Problem.
 
showing error as UnknownhostException : products.com
Thanks.



Thanks
Regards
Ramachandran K
09841917406

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to