Hi.
I have a similar problem... 
My app. has many folders and I do not want to put an index file in each
of them...
Especially that it has more sub app.'s so I would need different index
files for different folders... it would be nasty to put one in each of
them and after that, if something changes to change all the files... I
would like to have some kind of redirection set to some folder levels
(so everything beneath them to call its own index...)
Problem nr 2 is: how can I restrict folder browsing
Thanx
        Hades
-----Original Message-----
From: Ed Robbins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 3:03 PM
To: [EMAIL PROTECTED]
Subject: Re: Welcome File : index.html


Joar Vatnaland wrote:
> 
> How did you change the welcome-file,
> did you just append an
> 
> <welcome-file>sample.html</welcome-file>
> 
> after the other entries?  My guess is that it goes through the list
> and starts with the first file it finds.  So if an index.jsp or
index.html
> still exists in your directory, then that will still be the starting
file.
> Either remove the index file from the directory, or place your entry
ahead
> of any other <wellcome-file> entry.
> 
Joar is right, if there is a list it will go through the list until it
finds the first match.  Also, make sure you have the <welcome-file> tag
within a <welcome-file-list> tag, so it should look like the following:

<welcome-file-list>
  <welcome-file>welcome.html</welcome-file>
  <welcome-file>index.html</welcome-file>
  <welcome-file>home.html</welcome-file>
<welcome-file-list>

Don't forget that each web app has it's own web.xml file and you want to
put it in the appropriate file.

Ed

> Joar
> 
> -----Original Message-----
> From: Sunil Chandurkar [mailto:[EMAIL PROTECTED]]
> Sent: 10 April 2001 16:09
> To: [EMAIL PROTECTED]
> Subject: Welcome File : index.html
> 
> Hello can i change welcome file index.html to
> my sample.html
> 
> I have tried this by changing contents of <welcome-file> tag of file
web.xml
> still it didn't work..
> 
> please let me know the way...
> 
> Thanx in advance
> 
> regards
> sunil
> 
> _____________________________________________________________
> Get LifeTime Free email Visit  ---> http://www.nagpurcity.net

Reply via email to