|
|
|
|
|
|
Re: How integrate Birt report with web application [message #537777 is a reply to message #537639] |
Thu, 03 June 2010 15:16 |
|
Did you add the entire BIRT Viewer to your application?
On 6/3/2010 4:39 AM, Stefano wrote:
> Ok I follow the Viewer tag library, so I add to my working web
> application a birt.jsp to try to use the Birt Viewer.
>
> When I run the jsp , display HTTP Status 404, The requested resource
> (/Test_WebApp/frameset) is not available.
>
> So it don't see my report that it have to display in the viewer.
>
> In the jsp Body I use:
>
> <birt:viewer id="birtViewer" reportDesign="test_fid.rptdesign"
> pattern="frameset"
> height="450"
> width="700" format="html"
> ></birt:viewer>
>
> test_fid.rptdesign file stay in WebContent directory of the web
> application.
>
> How can I resolve the problem ?
|
|
|
|
Re: How integrate Birt report with web application [message #537800 is a reply to message #537784] |
Thu, 03 June 2010 16:37 |
|
Stefan,
You have to have the full viewer installed on the app server either in
your context or another context. In your case it looks like you added
the tag library but did not specify a baseURL attribute to an existing
BIRT Viewer on the same appserver. Take a look at this:
http://www.eclipse.org/birt/phoenix/deploy/viewerUsage2.2.ph p#tags
Jason
On 6/3/2010 11:56 AM, Stefano wrote:
> I add:
> - birt.ltd in WEB-INF/ltds
> and follow jars in WEB-INF/lib:
> - coreapi.jar
> -modelapi.jar
> -viewerservlets.jar
> -engineapi.jar
> -com.ibm.icu....jar
>
>
> Jason Weathersby wrote on Thu, 03 June 2010 11:16
>> Did you add the entire BIRT Viewer to your application?
>
>
|
|
|
|
Re: How integrate Birt report with web application [message #538031 is a reply to message #538007] |
Fri, 04 June 2010 14:37 |
|
It is a relative path. You are specifying the context of the viewer.
For example:
<birt:viewer id="1" baseURL="/WebViewer"
height="600"
width="800"
reportDesign="TopNPercent.rptdesign"></birt:viewer>
Keep in mind also that the report design is in relation to the viewer
not your app. So in the above example TopNPercent.rptdesign is in the
webcontent directory of the depolyed viewer in the /WebViewer context.
Jason
On 6/4/2010 9:33 AM, Stefano wrote:
> ok, so in <birt:viewer> tag I add baseURL properties, but what path must
> I use ? relative path ? Can I have an example ?
> The birt.war is deployed on the same JBoss application server of the web
> application.
>
> Jason Weathersby wrote on Thu, 03 June 2010 12:37
>> Stefan,
>>
>> You have to have the full viewer installed on the app server either in
>> your context or another context. In your case it looks like you added
>> the tag library but did not specify a baseURL attribute to an existing
>> BIRT Viewer on the same appserver. Take a look at this:
>>
>> http://www.eclipse.org/birt/phoenix/deploy/viewerUsage2.2.ph p#tags
>>
>> Jason
>>
>> On 6/3/2010 11:56 AM, Stefano wrote:
>> > I add:
>> > - birt.ltd in WEB-INF/ltds
>> > and follow jars in WEB-INF/lib:
>> > - coreapi.jar
>> > -modelapi.jar
>> > -viewerservlets.jar
>> > -engineapi.jar
>> > -com.ibm.icu....jar
>> >
>> >
>> > Jason Weathersby wrote on Thu, 03 June 2010 11:16
>> >> Did you add the entire BIRT Viewer to your application?
>> >
>> >
>
>
|
|
|
Re: How integrate Birt report with web application [message #538037 is a reply to message #538031] |
Fri, 04 June 2010 15:31 |
Stefano Messages: 31 Registered: February 2010 |
Member |
|
|
Thank you very much, now it work...
Jason Weathersby wrote on Fri, 04 June 2010 10:37 | It is a relative path. You are specifying the context of the viewer.
For example:
<birt:viewer id="1" baseURL="/WebViewer"
height="600"
width="800"
reportDesign="TopNPercent.rptdesign"></birt:viewer>
Keep in mind also that the report design is in relation to the viewer
not your app. So in the above example TopNPercent.rptdesign is in the
webcontent directory of the depolyed viewer in the /WebViewer context.
Jason
On 6/4/2010 9:33 AM, Stefano wrote:
> ok, so in <birt:viewer> tag I add baseURL properties, but what path must
> I use ? relative path ? Can I have an example ?
> The birt.war is deployed on the same JBoss application server of the web
> application.
>
> Jason Weathersby wrote on Thu, 03 June 2010 12:37
>> Stefan,
>>
>> You have to have the full viewer installed on the app server either in
>> your context or another context. In your case it looks like you added
>> the tag library but did not specify a baseURL attribute to an existing
>> BIRT Viewer on the same appserver. Take a look at this:
>>
>> http://www.eclipse.org/birt/phoenix/deploy/viewerUsage2.2.ph p#tags
>>
>> Jason
>>
>> On 6/3/2010 11:56 AM, Stefano wrote:
>> > I add:
>> > - birt.ltd in WEB-INF/ltds
>> > and follow jars in WEB-INF/lib:
>> > - coreapi.jar
>> > -modelapi.jar
>> > -viewerservlets.jar
>> > -engineapi.jar
>> > -com.ibm.icu....jar
>> >
>> >
>> > Jason Weathersby wrote on Thu, 03 June 2010 11:16
>> >> Did you add the entire BIRT Viewer to your application?
>> >
>> >
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.05541 seconds