I had a similar problem, within a servlet, and was warned not to explicitly hardcode paths for code that will be deployed in an unexploded WAR file (http://marc.theaimsgroup.com/?l=struts-user&m=105761364603542&w=2). I don't know how helpful this issue might be to your problem, however.
Please let us know what works for you so others can learn about this. Glen --- "Andreas L. Delmelle" <[EMAIL PROTECTED]> wrote: > > -----Original Message----- > > From: Damir Todorovac > [mailto:[EMAIL PROTECTED] > > > > I'm using fop 0.20.4 in a servlet which runs on > wls > > 6.1. We create pdfs which consist of text and > gifs. > > The gif images are located in a jar file which is > > under WEB-INF/lib of the war file. I'm retrieving > the > > <snip /> > > > The returned url is used in the 'src' attribute of > the > > 'fo:external-graphic' tag: > > > > <fo:external-graphic > > > src="zip:C:/apps/Tip210/cs/websrv/bin/wls615/wlserver6.1/config/do > > > chelper_2005/applications/.wlnotdelete/wlap61515/WEB-INF/_tmp_war_ > > > dochelper_2005_dochelper_2005_server_dochelpertest/WEB-INF/lib/image > > s61077.jar!/images/logo.gif"> > > </fo:external-graphic> > > First of all: the above URL is actually not a URL. > At the least, it should > be sth like > 'zip://' etc. > > Secondly, try to use > <fo:external-graphic src="url(...)" /> (place the > above url between the > brackets) __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
