You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by "B. Shadgar" <sh...@compsci.bristol.ac.uk> on 2003/01/08 19:01:59 UTC

Slide Configuration with Tomcat

Hi,

 At the moment I face with " Directory listing for / " page, when I load
the http://localhost:8080/slide.
My questions are:

1- where is the source code of this page ?
2- How it is set to be default page as I connect to that url. In other
words which parts of configuration whether in web.xml, Domain.xml,
server.xml or so on are dealing with it?
3- If I want to make my own jsp page as default, what I need to do?

Please help me. I took a lot time to change some elements in the web.xml
such as servlet,  servlet-mapping and default-path but I didn't succeed.

I am desperately waiting for your help.
Bita.





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Slide Configuration with Tomcat

Posted by Andreas Probst <an...@gmx.net>.
Hi Bita,

if you're using 1.0.16, it's in 
WebdavServlet.displayDirectoryBrowsing().

If you're using current CVS, look at WebdavServlet.doGet().
There's a directoryBrowsingTemplate.forward(req, res); and so  
on. 

You could extend WebdavServlet and make your own implementation 
of displayDirectoryBrowsing() or doGet(). That's what I did. But 
it's not a JSP. Make sure to change web.xml to call your 
servlet.
Example SimpleWebdavServlet might be of interest.

Regards.

Andreas




On 8 Jan 2003 at 18:01, B. Shadgar wrote:

> Hi,
> 
>  At the moment I face with " Directory listing for / " page, when
>  I load
> the http://localhost:8080/slide.
> My questions are:
> 
> 1- where is the source code of this page ?
> 2- How it is set to be default page as I connect to that url. In
> other words which parts of configuration whether in web.xml,
> Domain.xml, server.xml or so on are dealing with it? 3- If I want
> to make my own jsp page as default, what I need to do?
> 
> Please help me. I took a lot time to change some elements in the
> web.xml such as servlet,  servlet-mapping and default-path but I
> didn't succeed.
> 
> I am desperately waiting for your help.
> Bita.
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org> For additional
> commands, e-mail: <ma...@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>