Yaakov Chaikin wrote:

> 2) If you need to place JSP code in just one or two .css files, I
> would not start messing with server specific configurations and just
> rename those .css files to have extension of .jsp. So, now you will
> have a stylesheet file with .jsp. It seems weird and unusual, but
> really doesn't make any difference as far as your HTML/JSP page is
> concerned. Just point the link to the .jsp page instead in your
> HTML/JSP page:
> <link href="styles/myStyle.jsp" rel="stylesheet" type="text/css">

Make sure your style sheet is delivered as the proper content-type,
though, or Moz-based browsers will ignore it; start the page with

  <%@ page contentType="text/css" %>
or
  <jsp:directive.page contentType="text/css"/>

-- 
Hassan Schroeder ----------------------------- [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                          dream.  code.



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

Reply via email to