Relative URL to component images in css

asked 2013-12-19 10:42:28 +0800

venicum gravatar image venicum
21 4

updated 2013-12-19 11:29:36 +0800

I developed a component in ZK 7.0.0 with own molds, css's styles etc. The component should be build in one jar file, which I can copy in WEB-INF/lib folder to replace standart ZK components.

Folder structure:

  • src/
  • src/main/resources/web/images/
  • src/main/resources/web/js/

In ".css.dsp" files I use statements likes:


And it's refer to 'http://domen/webapp/images/in2.png'. (physical path: /webapp/images/in2.png). But I need get images from jar file.

How can I write relative path to images in css files?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-03-06 18:42:39 +0800

venicum gravatar image venicum
21 4


link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2013-12-19 10:42:28 +0800

Seen: 32 times

Last updated: Mar 06 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More