I have a webapp: tomcat-4.0/webapps/scarab/

The scarab directory structure looks like this:

webapps/scarab
            /docs
            /WEB-INF

In the /docs directory I have some output of javadoc for Scarab's source
code. ie: static HTML content.

In tomcat-4.0/conf/server.xml, I have defined:

        <Context path="/" docBase="scarab" reloadable="true">
        </Context>

Now, when I go to:

http://localhost:8080/

I get a directory listing (with broken paths...see my previous bug).

When I go to:

http://localhost:8080/docs/

I get the popup dialog error in Netscape saying that no content was sent.

When I go to:

http://localhost:8080/scarab/docs/

Everything works fine.

So, how do I make the / context work properly? This used to work fine in
Tomcat 3.x.

-jon


-- 
Honk if you love peace and quiet.


Reply via email to