You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "David B. Martin" <Da...@Dartmouth.EDU> on 2000/05/04 22:46:56 UTC

Using Context ""

I have managed to get Tomcat happy with my web application,
but I am having one last difficulty...

When I give my context a name (say "food"), Tomcat behaves
the way that expect.  For example, if my Context "food" has
the base directory "/home/myDir", and a subdirectory
"/home/myDir/images/dumb.gif"  I can type the url:

 "http://my.machine.com:8080/food/images/dumb.gif"

and get the image I expect.

However, when I use the "" Context, this doesn't work!  In
other words, I can't get this URI happy, no matter what:

 "http://my.machine.com:8080/images/dumb.gif"

What might be causing this problem?

Thanks for your help!

-dbm