tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Question about context aliases
Date Thu, 22 Apr 2010 16:40:26 GMT
Experimenting on the extreme side of things: when trying to use 
aliases="/=/some/path" I can't get any resource to load:

- there is /some/path/test.properties
- servletContext().getResourceAsStream("/test.properties") returns null.

It works, once I use aliases="/myapp=/some/path" and 
servletContext().getResourceAsStream("/myapp/test.properties").

Is that expected?

Regards,

Rainer


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


Mime
View raw message