Try this instead:
<link rel="stylesheet" type="text/css" href="css/my.css">
(*Chris*)
----- Original Message -----
From: "Timothy Stone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 7:00 PM
Subject: [JSP-INTEREST] Servlet and CSS setup...
> I have set up Tomcat 3.2.2 with mod_jk and Apache 1.3.20 on MacOS X
>
> I'm trying to get servlets to find my *.css files in Apache.
>
> My *.html files are served by Apache via the following directory
structure:
> /public_html
> /forms
> /css
>
> Many of my *.html forms have a style declaration that looks for the style
> sheet:
> <style type="text/css">
> import "/css/my.css";
> </style>
>
> My servlets are in the standard deployment directory for Tomcat:
> /webapps/ROOT/WEB-INF/classes
>
> However, the servlet generated HTML does not find the Apache /css
> directory. The source shows the same style element as the form document
> that called the servlet. I'm invoking the servlet from the Apache via the
> mod_jk and I think I have this properly set up. There must be something I'
> m missing. Can anyone help?
>
> Thanks,
> Tim
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets