Hi,
I'm trying to reference a css and a png file from a jsp page. My file hierarchy is:
/{app}.war
/{app}.war/WEB-INF
/{app}.war/WEB-INF/reports
if I put the resoures under the "root" (/{app}.war) directory everyting works fine. But I want to have them exist in the '/{app}.war/WEB-INF/reports' directory. And the following doesn't work:
<link href="<%= "/WEB-INF/reports/htmlreports.css" %>" rel="stylesheet" type="text/css">
What do I have to do?
Thanks!
jopaki@yahoo.com
You could start by using :
<link href="<%= '/WEB-INF/reports/htmlreports.css' %>" rel="stylesheet" type="text/css">
Using only : " can confuse the webcontainer.
Regards
Werner