It calls the URL as many times as needed. If you want to guarantee that it's
called only once then read the data first to a byte array and feed that
array to Image.getInstance().
Best Regards,
Paulo Soares
> -----Original Message-----
> From: Charminda Bandara [SMTP:[EMAIL PROTECTED]
> Sent: Monday, October 13, 2003 6:38
> To: '[EMAIL PROTECTED]'
> Subject: [iText-questions] Image.getInstance ?
>
> Hi,
> Just to report you some incident which seems to be a bug in iText.
> When you call the Image.getInstance(String s) method with an string URL to
> a servlet (Ex - Image.getInstance("
> <http://pc1061658:9999/comstar-1/servletController?parm=getImage>"), it
> calls the doGet() method of the sevlet more than once and in turn it calls
> all the statement in doGet more than once. Have you come across this
> earlier? or is it a bug in my code ?
>
> IText user,
> Charminda Bandara
>
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions