I got it to work.  I didn't realize that tomcat set our working directory to
/webapps/foo, so i had to set up the link.

Thanks,
Jason

Jann VanOver wrote:

> In the same directory as what?  A JSP file?  A Servlet?  It makes a
> difference.
>
> -----Original Message-----
> From: Jason Vinson [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 14, 2001 10:50 AM
> To: [EMAIL PROTECTED]
> Subject: CSS in Tomcat
>
> Hi,
>
>     I am trying to use external cascading style sheets in Tomcat, by using
> the
> <link rel="stylesheet" type="text/css" name="style1" href="style1.css"> tag
> in
> the <head> of the document.  I keep getting a 404 (not found) error when i
> try
> to load.  The css file is located in the same directory, but Tomcat can't
> see
> it for some reason.  Any suggestions?
>
> cheers,
> Jason

Reply via email to