tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From D.Yutzy <dyu...@copper.net>
Subject Re: Servlet output HTML and cannot find CSS files, help!
Date Thu, 13 Jul 2000 03:39:26 GMT
That was the trick!  Thanks!

>>>>>>>>>>>>>>>>>> Original Message
<<<<<<<<<<<<<<<<<<

On 7/12/2000, 7:35:18 AM, Ravindra Wankar <rwankar@iname.com> wrote 
regarding Re: Servlet output HTML and cannot find CSS files, help!:


> Here is what I have in my resulting HTML.

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

> Notice the ".." which looks for the directory "css" in the appdirectory
> (where WEB-INF etc exist) and under that is the base.cc file

> I guess that since the servlet is accessed as
> http://localhost/examples/servlet/ABC (The .. maps to the app directory,
> in this case the examples directory)

> Hope that helps...

> -- Ravi.

> "D.Yutzy" wrote:

> > I generate HTML via a servlet, including the LINK tag to CSS files, but
> > the resultant HTML doesn't reflect the stylesheets....
> >
> > I have no idea what to do.  I'm new to Apache and Tomcat and Java in
> > general.  The servlet works otherwise, displaying information from an
> > Access database table.

Mime
View raw message