Hi,
In my css file, I want to provide url to some resources which belong to some other project. The context of that project can be changing.
Is there a way in css, by hwich I can provide a url with a variable or with property pointing to the dynamic context.
Maybe something like:
.menu-scroll-bottom{
background-image:url("${request.getContextPath()}-static/resources/images/mini-b.gif");
}
or something like:
.menu-scroll-bottom{
background-image:url(<%=request.getContextPath()%>-static/resources/images/mini-b.gif);
}
I have both of the above, but none works.
Is there any way to solve this?
Thanks in advance