2002 JI Open Discussion Posted August 17, 2006 Share Posted August 17, 2006 By: Mark Wilson - markwil Images in JAR - How? 2003-03-17 02:36 Hi, how can I reference an image in a jar when the compiles report is in the same jar?? TIA. -Mark By: Teodor Danciu - teodord RE: Images in JAR - How? 2003-03-17 11:27 Hi, You use paths relative to the root of the JAR, knowing that the engine searches for the images as resources in the classpath. I hope this helps. Teodor By: Mark Wilson - markwil RE: Images in JAR - How? 2003-03-17 11:46 Hi Teodor, structure of my client.jar: config de/wilsoncom/...... img report_templates I tried using path relative to root of jar in the compiled report: "..//img//logo.gif" and still got an error message. Any ideas? TIA. - Mark By: Teodor Danciu - teodord RE: Images in JAR - How? 2003-03-17 13:45 Hi, Why do you put double slashes? Try this: "img/logo.gif" I hope this helps. Teodor By: Mark Wilson - markwil RE: Images in JAR - How? 2003-03-18 01:44 Hi Teodor, it now works. ("img/logo.gif"). I read somewhere in this forum that you needed double slashes because of the esc-char - but that is of course and not /. Thanks anyway. -Mark Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now