I am trying to send a report directly to print using an EJB deployed in an ear. However, I am unable to determine the relative path configuration. The CRConfig.xml is in the root of the ejb.jar. I can access the report using an absolute path in the file directory (e.g. c:\reports\myreport.rpt). However, I would rather deploy the rpt with the ear.
The ear has the following structure
ReportClientDocument reportDoc = new ReportClientDocument();
Any ideas? Is this possible?
Thanks in advance.