Hi

in your web app web.xml  (see web-app_2_3.dtd)  :

<welcome-file-list>
    <welcome-file>your-servlet-name</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>index.html</welcome-file>
</welcome-file-list>

Dom

----- Original Message -----
From: "Javier" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, November 03, 2003 7:17 PM
Subject: Re[4]: Virtual host and app


> On 03/11/2003 at 17:56 Dominique Batard wrote:
>
> >
> >Having deployed your app under webapps (you shouldn't with virtual hosts)
> ,
> >you can also access it within localhost :
> >http://localhost:8080/PruebaJavier/ (this is possible only because you've
> >used the webapps absolute URL in appBase)
> >
> >If you want a pjkt virtual Host and a PruebaJavier Context :
> >
> ><Host name="pjkt" debug="0" appBase="C:\Program Files\Apache Software
> >Foundation\Tomcat 5.0\webapps\PruebaJavier" unpackWARs="true"
> >autoDeploy="true">
> >   <Context path="/PruebaJavier" reloadable="true" docBase="." />
> ></Host>
> >
>
>
> Ok, thanks...it worked !
>
> The only thing nobody answer is: which is the equivalent setting for
Apache
> DirectoryIndex ?
>
> I mean that if the user write in url just http://pjkt:8080 I want to have
> configured a default servlet to show (as is index.php in my php
> applications).
>
>
> Thanks in advance
>
> <jl>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



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

Reply via email to