1T3XT info <info <at> 1t3xt.info> writes: > > Lopes, James wrote: > > Here’s my code I have searched to archive for a similar instance but > > didn’t find any. I can access the image if I drop the URL in the browser > > address field. > > Suppose you don't use iText, but just > new URL(yourUrl) and openStream(); > Can you read the bytes? > I guess not. > First solve this simple problem, > and when you're done, it will work in iText too.
Ok I got 99 bytes back I used URL myimg = new URL("http://localhost:8080/mycontext/myimage.png"); int numbytes = myimg.openStream().available(); ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php