i'm new to java and have a strange problem. i create some folder(theme, js, css) in WEB-INF folder and put my files to this folders. in index.jsp i use a css file by following way:
<style type="text/css">
<%@include file="WEB-INF/css/style.css" %>
</style>
it works good. but in style.css file i have a div tag that set a background for header tag by following way:
#header{
background: url(../theme/violet/header.jpg) repeat-x;
}
oh. my problem is here. it doesn't work. since other css command work very good. i know that WEB-INF detail aren't accessible but may there is a way like the way that i use for link style.css in my index.jsp page.
any solution? thanks.