If you are only going to serve html, jpg, gif, css, etc. pages. (i.e.
static text files) then you should not be using tomcat at all. Instead you
should use Apache web server.
Only use Tomcat if you want to run Java based Web-applications.
If for some reason you MUST you Tomcat then put the files in a directory you
create under the "webapps" directory. then put the name of your directory
on the end of your URL. One other thing you must do though is create a
directory in your sub-directory called WEB-INF and in it put a text-file
called web.xml which has the following contents:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
</web-app>
Hope that helps,
Andoni.
----- Original Message -----
From: "Pascal Platteeuw" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 12:11 PM
Subject: newbie question
Hello,
I've installed tomcat but I still have some problems to make it run as I
want...
Tomcat is an Http server right ? Then how do I see the HTML page I write and
that are not in the tomcat root (my html pages, my images, and css are on a
separate disk...) ? Is there something I miss ?
Please help... I want to have tomcat installed in one place and all the web
site (html, css, image, jps, servlets,...) installed on another drive ? How
do i tell tomcat to go looking on the other drive...
Many thanks in advance...
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>