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 10:06
Abhi Kaul is currently offline Abhi Kaul
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: Fri Apr 18 19:35:24 EDT 2014

Powered by FUDForum. Page generated in 0.06498 seconds