Yoav is correct, but I believe that the following sordid hack will work in
TC 4.x:
1)  In your web.xml file create a servlet-mapping something like:
    <servlet-mapping>
       <servlet-name>MyWelcomeServlet</servlet-name>
       <url-pattern>/index.html</url-pattern>
    </servlet-mapping>
2) Stick a zero length file called 'index.html' at
$CATALINA_HOME/webapps/myapp/.
3) Make certain that there is no file named 'index.jsp' at
$CATALINA_HOME/webapps/myapp/ (or re-order your welcome-pages).


"Me" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I installed tomcat yesterday and i am totally confused about its config
> files. i am trying to change the default homepage so that tomcat calls a
> servlet in the preconfigured servet directory instead of the index.jsp
page.
> Is it possible
>                        Thanks in advance
>                                A tomcat newbie




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to