On Wed, Jun 10, 2009 at 11:48 PM, Lyallex<lyal...@gmail.com> wrote: >> I know its completely possible to add images the root of a Web-App folder >> after deployment and have Tomcat "see" them. > > Great, any idea how ? > Others here seem to think that the DefaultServlet will not serve > content that is uploaded after the server starts and this is the > behaviour I'm seeing
I don't know who these "others" are, but I just downloaded a fresh copy of 6.0.20, untarred and started it in its default configuration (using $CATALINA_HOME/bin/catalina.sh run) and confirmed that the ROOT webapp welcome page appeared in my browser. Then I copied a random example.gif image to the ROOT directory and entered http://localhost:8080/example.gif in my address bar. And there it is in my browser. So I think the question is more "what changes have you made to break the normal behavior?" :-) For completeness, this is on a Mac/OS X (10.5.6) running the Mac HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode) FWIW, -- Hassan Schroeder ------------------------ hassan.schroe...@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org