You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Shaw, Kendall" <KS...@abtcorp.com> on 2000/07/11 22:07:04 UTC

servlet at docroot

Hi,

I'm running tomcat 3.1 with apache 1.3.12 on linux. I want to have my home
page be a servlet. For example, http://localhost would run my servlet which
then serves either html, hdml, or wml depending on the accept header. How
can I do this?

I've gotten as far as being able to use:

http://localhost/homeapp

By:

<Context path="" docBase="webapps/homeapp" debug="0" reloadable="true" >
</Context>

in server.xml and then:

ApJServMount /hello /root

in httpd.conf.

Is there a way to do this without a redirect?

Kendall Shaw

--
My opinions are not necessarily my company's.