I'm generating css in jsp and the output is:
<style type="text/css">
body{background: #ffffff url('<c:url value='/resources/images/logo/logo_small.png'/>') no-repeat scroll center center}
</style>
Now i'm call this code in jsp using:
<%@include file="/WEB-INF/common/css/sitemap_common.jsp" %>
<%@include file="/WEB-INF/common/css/index.jsp" %>
It works and the out put is something like this:
<head>
<style type="text/css">
body{background: #ffffff url('<c:url value='/resources/images/logo/logo_small.png'/>') no-repeat scroll center center}
</style>
</head>
But what i need is
<head>
<link rel="stylesheet" href="/css/mycss.css" type="text/css">
</head>
THis is a completed project with 100's of css generating jsp. and i need to update for better performance. link tag will be catched in browser. but script tag will load every time.