|
Re: Properties file [message #650401 is a reply to message #650228] |
Mon, 24 January 2011 17:51 |
|
Mary
Are you using the Viewer or are you writing your own BIRT engine servlet?
Jason
On 1/23/2011 7:49 AM, mary wrote:
> Hi all,
>
> I have create a Birt project using jsp.It works fine but I want to
> create a property file which contained some paths where the reports
> located and Tomcat paths in order to make the installation easier.
>
>
> Do you have any idea or example how to call the property file?I was
> reading that through web.xml I can do the servlet mapping but I cannot
> find it.
>
> I would appreaciate an answer
>
>
>
> Regards,
> Mary
>
|
|
|
|
Re: Properties file [message #650582 is a reply to message #650433] |
Tue, 25 January 2011 15:45 |
|
Mary,
The default location for the reports is set in the web.xml
<context-param>
<param-name>BIRT_VIEWER_WORKING_FOLDER</param-name>
<param-value>/myreports</param-value>
</context-param>
If the value is blank the reports are located at the context root. In
the above example if I specify __report=mytestreport.rptdesign in the
url it will look for the reports in the contextroot/myreports.
Jason
On 1/24/2011 3:34 PM, mary wrote:
> Hi,
> I am using a viewer.
|
|
|
Powered by
FUDForum. Page generated in 0.03992 seconds