Hi.

Imagine I have a webapp, say app1, under %TOMCAT_HOME%\webapps, and under
app1 I have a directory named 'images' where I put all the images my pages
need.

If I direct the browser to http://localhost:8080/app1/images I'll have access to the 
contents of this directory.
Is there a way to prevent this from happenning?

I've tried to put the images directory under 'web-inf' but then I couldn't reference 
the images files inside the servlets anymore.

Thanks in advance.

Pedro

***********************************************
Pedro Gaspar
PT Prime
DMK / GSV
Tel:  +351 21 500 41 43
Fax: +351 21 500 45 85
Email: [EMAIL PROTECTED]
***********************************************


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

Reply via email to