---------- Forwarded message ----------
From: Imran Khan <[EMAIL PROTECTED]>
Date: Dec 5, 2006 2:15 PM
Subject: Help


I am using FOP jar for transforming a XML file to a PDF file. In the
Application i am using an XSL file for the transformation purpose.
The xsl file is used as a resouce within the application.
The application is bulit and run sucessfully.  Note: XSL file is under the
same package as class which converts xml to pdf and the class is using the
xsl file internally using getClass.getResource(XSLT_FILE_NAME).getPath().

Now i make the jar of the above application and import the jar to a new
application and call the class for transforming a xml at a given location to
the pdf . But this time it could not find the xsl file within the jar.
What could be the possible solution to the above problem. It throws
FileNotFoundException  for xslt.

Imran Khan

Reply via email to