Re: Question about context aliases

2010-04-26 Thread Rainer Jung
On 26.04.2010 06:46, Konstantin Kolinko wrote: 2010/4/23 Mark Thomas: On 23/04/2010 12:30, Rainer Jung wrote: On 23.04.2010 12:04, Mark Thomas wrote: On 23/04/2010 10:51, Rainer Jung wrote: On 22.04.2010 18:51, Mark Thomas wrote: On 22/04/2010 17:40, Rainer Jung wrote: Experimenting on the

Re: Question about context aliases

2010-04-26 Thread Mark Thomas
On 26/04/2010 05:46, Konstantin Kolinko wrote: > If there are resources in the web application for the same path as > covered by an alias, these webapp resources will be ignored? I.e., > configuring an alias in context.xml can be used to overwrite parts of > the web application? Correct. Mark

Re: Question about context aliases

2010-04-25 Thread Konstantin Kolinko
2010/4/23 Mark Thomas : > On 23/04/2010 12:30, Rainer Jung wrote: >> On 23.04.2010 12:04, Mark Thomas wrote: >>> On 23/04/2010 10:51, Rainer Jung wrote: On 22.04.2010 18:51, Mark Thomas wrote: > On 22/04/2010 17:40, Rainer Jung wrote: >> Experimenting on the extreme side of things: whe

Re: Question about context aliases

2010-04-23 Thread Mark Thomas
On 23/04/2010 12:30, Rainer Jung wrote: > On 23.04.2010 12:04, Mark Thomas wrote: >> On 23/04/2010 10:51, Rainer Jung wrote: >>> On 22.04.2010 18:51, Mark Thomas wrote: On 22/04/2010 17:40, Rainer Jung wrote: > Experimenting on the extreme side of things: when trying to use > aliases="

Re: Question about context aliases

2010-04-23 Thread Rainer Jung
On 23.04.2010 12:04, Mark Thomas wrote: On 23/04/2010 10:51, Rainer Jung wrote: On 22.04.2010 18:51, Mark Thomas wrote: On 22/04/2010 17:40, Rainer Jung wrote: Experimenting on the extreme side of things: when trying to use aliases="/=/some/path" I can't get any resource to load: - there is /

Re: Question about context aliases

2010-04-23 Thread Mark Thomas
On 23/04/2010 10:51, Rainer Jung wrote: > On 22.04.2010 18:51, Mark Thomas wrote: >> On 22/04/2010 17:40, Rainer Jung wrote: >>> 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

Re: Question about context aliases

2010-04-23 Thread Rainer Jung
On 22.04.2010 18:51, Mark Thomas wrote: On 22/04/2010 17:40, Rainer Jung wrote: 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

Re: Question about context aliases

2010-04-22 Thread Mark Thomas
On 22/04/2010 17:40, Rainer Jung wrote: > 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, o

Question about context aliases

2010-04-22 Thread Rainer Jung
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 servletCo