tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Read" <>
Subject Re: Standalone configuration
Date Wed, 25 Jul 2001 00:45:30 GMT
Try using http://server:8080/servlet234/somefile.html.

In standalone mode Tomcat listens at port 8080 by default rather than port
80 which is what a browser will default to if you don't specify otherwise.
If you wish to change this you can edit server.xml (search for the string

Let me know if you're still having problems.


----- Original Message -----
From: "Michael Petres" <>
To: <>
Sent: 24 July 2001 23:05
Subject: Standalone configuration

> I need some urgent help on this one! If anyone has the answer thanks in
> advance ...
> I am trying to configure Tomcat to act as a standalone HTTP server and to
> serve up a html,gif, and jar files to the browser.
> I have a servlet installed in 'webapps' under \servlet234. At some point
> servlet will write an html page to the requesting browser that contains
> references to gif, jar, etc. files.
> I am thinking of putting all these (static) files in the 'servlet234'
> directory and configure Tomcat somehow to serve them up. So far I have not
> been successful. To test it I am trying to access one of the static html
> files using a URL such as 'http://server/servlet234/somefile.html'. When I
> try to access any of these resources from a browser I get a 404 (page not
> found) error.
> Is there a way to do this? I would really like to avoid installing an HTTP
> server just to serve up these static resources!
> Michael Petres
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  InnovObjX Corporation
>  Tel: 905-729-2235 ext:61, Fax: 905-729-0754
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View raw message