[xep-support] render image from war

From: Li, Hao <lih@peacetech.com>
Date: Thu Jul 24 2008 - 12:10:18 PDT

Dear Support,

Our tomcat application is running from a war file which is not expanded during execution. An image used in the PDF is bundled in the war. I was wondering how the URL in RenderX need to be created in order to do this.

We know that FOP can achieve this by:
foUserAgent.setURIResolver(new org.apache.fop.servlet.ServletContextURIResolver(context));
<fo:external-graphic src="url('servlet-context:/image/checkedBox.gif')"/>

Is there similar or better approach in RenderX? Please do not tell me to extract the images out and use "url('file:...')" protocal.

thank you very much,

Hao

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Thu Jul 24 13:08:10 2008

This archive was generated by hypermail 2.1.8 : Thu Jul 24 2008 - 13:08:15 PDT