Hello,
I use a jquery plugin which has its own css files.
I am using JSF 1.2 and load the css file with a4j:loadStyle.
There are different links to images like
background-image:url("page_elements/bar_top_middle.gif");
But the picture is not found. If I add the contextpath, the picture is found.
background-image:url("/myapp/page_elements/bar_top_middle.gif");
How can I resolve this problem?
I don't want to search all extarnally provided css files and change the links to images.
If the context path is changed, e.g by a customer, the links break again.
Bernd
One workaraound is tp place the image folder in the same folder the css file is in.
But this is realy ugly. I prefer images in a top level image folder.