Hi,

> -----Original Message-----
> From: Markus Bengts [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, February 16, 2002 12:32 AM
> To: [EMAIL PROTECTED]
> Subject: The default servlet
> 
> 
> 
> Is it possible to configure Tomcat 4 so that it serves index.jsp as the
> default for a directory, but still does not serve any static content?
> 
> I do not want it to send any files or directory listings. I only want it
> to serve jsp and servlets. And still I want it to serve index.jsp from the
> requested directory when a browser requests for a directory.
> 

You can disable "default" servlet in $CATALINA_HOME/conf/web.xml
and modify welcome-file-list either there or in your app's web.xml
I didn't try that, but there is no mentions about default servlet's serving
of welcome-file-list, so I hope it works.

> // Markus
> 
> 

Anton

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to