Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Images with Birt(Problem with handling images with Birt)
Images with Birt [message #963019] Mon, 29 October 2012 14:06
Abhi Kaul is currently offline Abhi KaulFriend
Messages: 1
Registered: October 2012
Junior Member

I am using Birt 4.2.1 runtime engine API inside my Web Application using Spring (without Birt Viewer) and have a custom resourcelocator to handle the resources. The libraries and other resources like property files are loaded perfectly but when it comes to images, it's not working somehow.
I debugged inside my resource locator and the following things are happening when it comes to images :

1. The findResource method is called with the correct fileName and file type (IMAGE).
2. The resourceLocator is able to locate the resource and returns a good URL to BIRT.
3. The findResource method is again called, this time with the file name as file:.....
and the absolute path of the file (which was returned by the method as URL earlier) as if a toString was called by birt on the returned URL. This time predictably the method cannot find a URL and hence returns null.
4. Birt gives the error ATTENTION: Error.ResourceNotAccessible

Please help.

Previous Topic:a question about y-axis
Next Topic:The control List,how to Display and hide????
Goto Forum:

Current Time: Wed Jun 20 21:28:56 GMT 2018

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

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

Back to the top