I don't understand what I'm doing wrong, hopefully one of you will... My code uses templates extensively, but I think the CSS part should be pretty straightforward, so I'll provide only tiny code snippets.
Basically, the style sheet is not being applied.
Snippet 1: This code is in <WEB_ROOT>/maint/maint.jsp
Snippet 2: This code is in <WEB_ROOT>/myTemplate.jsp'
style.css is in <WEB_ROOT>.
Why isn't the absolute path working for me?
Thanks,
Tom
Basically, the style sheet is not being applied.
Snippet 1: This code is in <WEB_ROOT>/maint/maint.jsp
Code:
<template:insert template='/myTemplate.jsp'>
...
</template:insert>
Snippet 2: This code is in <WEB_ROOT>/myTemplate.jsp'
Code:
<head>
...
<link rel="stylesheet" href="/style.css" type="text/css" media="screen" />
</head>
style.css is in <WEB_ROOT>.
Why isn't the absolute path working for me?
Thanks,
Tom