Do you mean something like ClassLoader.getResourceAsStream()?
That would require you rebuild the EAR files but you wouldn't need
to touch the code, although I guess you could create a separate
resource-only JAR. This approach would be entirely self-contained.
The other option is getting the image's URL from the app server's
JINI.
Bear
> Is there some other way to import (or create an instance of the image)....
> sort of a getInstance("/image/otsoe.jpg"); with a relative path to the EAR
> file. (we must be carefull here, I don't want a relative path to the
> current location of the server ... because server configuration might
> change to from one machine to another.
>
> Has anyone encountered this before?
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions