Re: [iText-questions] Does not get an image from a servelt

2010-02-05 Thread 1T3XT info
Mike Marchywka wrote: > Having not looked at the source or your error handling approach, > I finally decided this could be something you "emit" ( for lack of > a more precise word) from some where in itext to wherever > the OP can paste text. I take it you are not aware of any such possiblity. The

Re: [iText-questions] Does not get an image from a servelt

2010-02-05 Thread Mike Marchywka
> Date: Fri, 5 Feb 2010 18:11:33 +0100 > From: i...@1t3xt.info > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Does not get an image from a servelt > > Donald Jayawardena wrote: >> Mike Marchy

Re: [iText-questions] Does not get an image from a servelt

2010-02-05 Thread 1T3XT info
Donald Jayawardena wrote: > Mike Marchywka hotmail.com> writes: > >> The statement > com.lowagie.text.Image iRiskNo = com.lowagie.text.Image.getInstance > ("http://localhost:8080/createjpg/createjpg";); > gives an error as follows: > > SEVERE: owner frame is a java.awt.Frame > > The creatrejpg

Re: [iText-questions] Does not get an image from a servelt

2010-02-05 Thread Donald Jayawardena
Mike Marchywka hotmail.com> writes: > The statement com.lowagie.text.Image iRiskNo = com.lowagie.text.Image.getInstance ("http://localhost:8080/createjpg/createjpg";); gives an error as follows: SEVERE: owner frame is a java.awt.Frame The creatrejpg servlet returns an image of awt frame. Does

Re: [iText-questions] Does not get an image from a servelt

2010-02-04 Thread Mike Marchywka
> Date: Thu, 4 Feb 2010 08:01:36 +0100 > From: i...@1t3xt.info > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Does not get an image from a servelt > > Donald Jayawardena wrote: >> Thanks for

Re: [iText-questions] Does not get an image from a servelt

2010-02-03 Thread 1T3XT info
Donald Jayawardena wrote: > Thanks for your solution. Once the main servlet(riskmap) called image servlet > (createjpg), createjpg writes to a log file after it generating the image. I > can see riskmap call to createjpg is working fine. But the virtual image does > not come to the parent servle

Re: [iText-questions] Does not get an image from a servelt

2010-02-03 Thread Donald Jayawardena
Thanks for your solution. Once the main servlet(riskmap) called image servlet (createjpg), createjpg writes to a log file after it generating the image. I can see riskmap call to createjpg is working fine. But the virtual image does not come to the parent servlet(riskmap). The parent (riskmap)

Re: [iText-questions] Does not get an image from a servelt

2010-02-03 Thread Mike Marchywka
I thnk it would help if you could get a stack trace from an exception that involves itext. User some toher utility to verify that the url you have is valid etc. Develop some debug strategy for your servlets that catches everything and logs to a file somewhere. I think when you posted this earlie

[iText-questions] Does not get an image from a servelt

2010-02-03 Thread Donald Jayawardena
Hi, I am trying to create a pdf doc with images. In order to do this, I created two servlets: 1. First servlet (riskmap) generates the pdf and html documents. 2. Some imgaes for the pdf and html documents are coming from anothe servlet (createjpg). Riskmap servlet generates html and pdf pages