You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mike Shoemaker <my...@shoesobjects.com> on 2004/02/12 00:57:36 UTC
media outside of war file
Is it possible to configure Tomcat 4 to serve media out side of a war
file? Im actually using the tomcat integrated with jboss 3.x. Thanks
in advance.
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: media outside of war file
Posted by Antonio Fiol BonnĂn <fi...@terra.es>.
Mike Shoemaker wrote:
> Is it possible to configure Tomcat 4 to serve media out side of a war
> file? Im actually using the tomcat integrated with jboss 3.x. Thanks
> in advance.
If you mean static media, just create another webapp with that media. Do
not use a WAR file for it. And off you go!
Note: That strictly means to add a <Context> element to server.xml
pointing to the right docBase, provided that you did not disable the
DefaultServlet.
Antonio Fiol