-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I'm developing a ZK JSF Flash component. That component is packed in to a jar file along with it's resources (icons, swfs, etc). How do I fill the src url property when the swf file is inside a jar? The swf url should be a visible path to the user (e.g. http://application/resources/file.swf), and not just visible inside the jar file...
I had a similar problem with images, but managed to load the resource and pass an InputStream to AImage object, an then called setImageContent() method of a Toolbarbutton. Is that the best approach?
When resources are inside a jar file, is there a way to create an URL for them in tomcat? I suppose I could create a servlet that does that. Is there anything more practical?
Thanks,
Tiago.
Asked: 2010-02-14 14:27:03 +0800
Seen: 419 times
Last updated: Feb 17 '10