tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From First Last <z_spo...@yahoo.com>
Subject Serving static content in tomcat 5
Date Thu, 26 Feb 2004 20:25:55 GMT
Hi all,
  I've used tomcat quite a bit before, but always as a
connector to another web server.  I'm running Tomcat
5.0 and I need to have tomcat be the static web
server, but I'm not sure how or where to configure
additional virtual directories for a webapp.  
  I tried adding a <Context> to the
<webappBase>\WEB-INF\web.xml file:

  <Context path="staticFiles"
docBase="c:\Java\Tomcat\webapps\theWebAPP\files"
debug="0"></Context>

But it doesn't seem to work.  Can someone please point
me in the right direction to serve static content /
files?

Thanks,
-Alex

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message