tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Preventing access to directories?
Date Thu, 23 Jul 2009 02:35:11 GMT
> From: Andre-John Mas [mailto:andrejohn.mas@gmail.com]
> Subject: Preventing access to directories?
> 
> I know I could put the JSPs in WEB-INF (it is what I do now),
> though I am wanting to explore another way of organising and
> grouping related resource, for easier management.

Since protection from direct access is one of the spec-defined uses of WEB-INF, why do you
want to reinvent this already very round wheel?

You could try writing a filter that traps direct access.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message