I prefer using <c:url> or <html:rewrite> to give my CSS files an absolute path - but that's just me:

<link href="<c:url value="/jsp/base.css"/>" ...

Matt

On Jan 12, 2004, at 10:01 PM, Mike Deegan wrote:


<link href="../jsp/base.css" rel="stylesheet" type="text/css">


works for me ...

what is the error you are getting?

may require use of the <html:base/> tag ?


----- Original Message ----- From: "vasudevrao gupta" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, January 12, 2004 9:48 PM Subject: Linking CSS





Dear All,


I am usign WebSphere Application Development Studio for development of
our application in struts.
When I am linking .css files to a JSP using normal HTML tag, its not
getting identified,..Do we need to use a different syntax for linking
.css files for JSP in struts???
Eg:
<LINK href="../../../../theme/Master.css" rel="stylesheet"
type="text/css">
Regards
vasudevRaoGupta


Confidentiality Notice


The information contained in this electronic message and any attachments
to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to