Skip to main content



      Home
Home » Archived » BIRT » Properties file
Properties file [message #650228] Sun, 23 January 2011 07:48 Go to next message
Eclipse UserFriend
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 #650401 is a reply to message #650228] Mon, 24 January 2011 12:51 Go to previous messageGo to next message
Eclipse UserFriend
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 #650433 is a reply to message #650401] Mon, 24 January 2011 15:34 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
I am using a viewer.
Re: Properties file [message #650582 is a reply to message #650433] Tue, 25 January 2011 10:45 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Table Height
Next Topic:SQL Text and Birt formating
Goto Forum:
  


Current Time: Wed Jul 23 23:15:26 EDT 2025

Powered by FUDForum. Page generated in 0.03668 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top