Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] problem adding an image with itext.

geronimo ferreira

2007-08-06

Replies:

Hi,

I been having problem with adding an image to a dynamic web report when I deploy the web app on a server.

  Image jpg = Image.getInstance("/resources/logo.jpg");

My project structure is as following:

meta-inf
resources -this contains the image
web-inf

I believe because of this i get a the page has no document exception.

Any help will be appreciated.

Thanks in advanced.
           


Pinpoint customers who are looking for what you sell.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.