Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Properties file
Properties file [message #650228] Sun, 23 January 2011 12:48 Go to next message
mary  is currently offline mary Friend
Messages: 2
Registered: January 2011
Junior Member
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 17:51 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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 20:34 Go to previous messageGo to next message
mary  is currently offline mary Friend
Messages: 2
Registered: January 2011
Junior Member
Hi,
I am using a viewer.
Re: Properties file [message #650582 is a reply to message #650433] Tue, 25 January 2011 15:45 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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: Tue May 14 08:09:03 GMT 2024

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

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

Back to the top