tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton Brazhnyk <a.brazh...@biconsulting.ws>
Subject RE: The default servlet
Date Sat, 16 Feb 2002 09:05:46 GMT
Hi,

> -----Original Message-----
> From: Markus Bengts [mailto:markus@click3.jsp.fi]
> Sent: Saturday, February 16, 2002 12:32 AM
> To: tomcat-user@jakarta.apache.org
> 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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message