This content has been marked as final.
Show 2 replies
-
1. Re: Images and Stylesheet mappings
jonlee Nov 19, 2003 10:25 PM (in response to caranamoore)It depends - if they are not in your WAR or context then you probably need to use absolute references. If they are in your context, use relative references. It is generally better to use relative references as it gives you flexibility to change context at deployment without breaking your web application.
So if your JSP is at the top level directory for the WAR and the CSS is a level below at css/myapp.css you would refer to it from your JSP as:<link rel="stylesheet" href="css/myapp.css" type="text/css">
-
2. Re: Images and Stylesheet mappings
caranamoore Nov 21, 2003 12:26 PM (in response to caranamoore)jonlee - thank you for the reply. I will post what I come up with.