Thank for help! This morning i noticed that my error was really the "/" after !.
Thanks! Fabio -----Messaggio originale----- Da: Thomas DeWeese [mailto:[EMAIL PROTECTED] Inviato: marted́ 2 dicembre 2003 19.24 A: Batik Users Oggetto: Re: Images in jar. Sample Fabio Biscaro wrote: > Here i post an example of an svg that i would like to have in a jar. > You can unzip it in your root directory. > > I tried to load it by using this java code: > > svgCanvas.setUri("jar:file:/jar/qco.jar!prova.svg"); > ( I tried other combinations too) The following is what I used on a Windows box and it worked: jar:file:d:/batik/test/jartest/qco.jar\!/prova.svg Most notable the '/' after '!'. It appears this is required. > But no way. I cant get rid of "Unable to make sense of URL > connection"! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]