tags:

views:

8

answers:

1

Per the BIRT documentation link text

the default location should be under report folder. However, all samples have the report designs at the root. What is the recommended location for report designs, images, css, js files?

Also, do I need to modify web.xml (I guessing, yes) if I put report designs in /report

TIA

A: 

Correct - you need to set the BIRT_VIEWER_DOCUMENT_FOLDER parameter in the web.xml:

<!--
    Temporary document files directory. Defaults to ${birt home}/documents
-->
<context-param>
    <param-name>BIRT_VIEWER_DOCUMENT_FOLDER</param-name>
    <param-value></param-value>
</context-param>

Then you can access the report as:

http://localhost:8080/birtviewer/frameset?__report=report.rptdesign

You can check out these for more information on how to configure it:

http://www.scribd.com/doc/2685254/Installing-the-BIRT-Viewer-in-Tomcat-and-jboss

Adam