abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: contextPath?
Date Fri, 18 May 2007 15:16:46 GMT
Ironically, this was added in to make it a bit easier to make a target
resolver a bit more independent of the servlet context path.  It's not
critical and can be pulled back out if it's causing problems. Feel free
to change it.

- James

Ugo Cei wrote:
> Hi,
> 
> I was busy adapting some code of mine to the latest Abdera trunk and
> noticed this contextPath parameter appearing in places where there was
> nothing before, like in the constructor of RegexTargetResolver:
> 
>     public RegexTargetResolver(String contextPath)
> 
> Is this supposed to be the _servlet_ context path? if it is, I am
> finding myself a bit uncomfortable with it, as I am instantiating my
> TargetResolver in a Spring application context configuration file, where
> I have no idea what the servlet context path is (and don't want to have
> to know, honestly).
> 
> Can someone please explain why we need it?
> 
>     Ugo
> 
> 
> 

Mime
View raw message