If you have the path or filename wrong (including case), it will still give
the same error. Try pasting your full path into a Unix cp command to make
sure you have no typos. Other than that, I don't know. Here is the driver
setup I use:

      org.apache.fop.apps.Driver driver = new org.apache.fop.apps.Driver();
      driver.setErrorDump(true);
      driver.setRenderer(driver.RENDER_PDF);
      driver.setupDefaultMappings() ;
      driver.setOutputStream(out);
      driver.render(foDoc);



> -----Original Message-----
> From: Maneshi Tuli [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 02, 2002 12:38 PM
> To: [EMAIL PROTECTED]
> Subject: RE: image protocal in Fop on unix
> 
> 
> 
> I am giving in the same way
> but it gives
>  error on relative URL : no protocol: 
> null/home/opt/weblogic610/wlserver6.1/config/mydomain/applicat
> ions/DefaultWebApp/images/english/global_navbar/db_header.gif
> 
> 
> my syntex is
> <fo:external-graphic src 
> ="file:///home/opt/weblogic610/wlserver6.1/config/mydomain/app
> lications/DefaultWebApp/images/english/global_navbar/db_header.gif" />
> 
> 
> plz help me find out , what is the cause of this
> thanks
> 
> 
> 
> 
> ---------------------------------------- Message History 
> ----------------------------------------
> 
> 
> From: "Savino, Matt C" <[EMAIL PROTECTED]> 
> on 01/02/2002 03:23 PM
> 
> Please respond to [EMAIL PROTECTED]
> 
> To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> cc:
> Subject:  RE: image protocal in Fop on unix
> 
> 
> This works for me:
> 
> <fo:external-graphic
> src="file:///usr/local/weblogic/config/isappdev/applications/R
> VWebApp1/WEB-I
> NF/lib/ClinTrialLogoGreenBig.gif" />
> 
> If you figure out how to use a relative path, PLEASE let me know.
> 
> -Matt
> 
> > -----Original Message-----
> > From: Maneshi Tuli [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 02, 2002 12:26 PM
> > To: [EMAIL PROTECTED]
> > Subject: image protocal in Fop on unix
> >
> >
> >
> >
> > hi ,
> > I want to give the image path on unix machine
> > i give like this
> > <fo:external-graphic src
> > ="file:/home/opt/weblogic610/wlserver6.1/config/mydomain/appli
> > cations/DefaultWebApp/images/english/global_navbar/db_header.gif" />
> >
> > i tried with this also
> > <fo:external-graphic src
> > ="/home/opt/weblogic610/wlserver6.1/config/mydomain/applicatio
> > ns/DefaultWebApp/images/english/global_navbar/db_header.gif" />
> >
> > but it is not working , it says no protocal
> > "null/home/opt/weblogic610/wlserver6.1/config/mydomain/applica
> > tions/DefaultWebApp/images/english/global_navbar/db_header.gif"
> > not found.
> >
> > plz help what shouild i give
> >
> > thanks
> >
> >
> >
> >
> >
> > --
> >
> > This e-mail may contain confidential and/or privileged
> > information. If you are not the intended recipient (or have
> > received this e-mail in error) please notify the sender
> > immediately and destroy this e-mail. Any unauthorized
> > copying, disclosure or distribution of the material in this
> > e-mail is strictly forbidden.
> >
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> --
> 
> This e-mail may contain confidential and/or privileged 
> information. If you are not the intended recipient (or have 
> received this e-mail in error) please notify the sender 
> immediately and destroy this e-mail. Any unauthorized 
> copying, disclosure or distribution of the material in this 
> e-mail is strictly forbidden.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to