abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Subbaraman <ki...@yahoo.com>
Subject Re: App+Servlet context, and APP operations -- need help
Date Fri, 16 Nov 2007 11:31:25 GMT

Whereas, If I add the servlet path also to the targetresolver pattern, it
works. But, then, am hardcoding the servlet path. Am sure there is a more
elegant solution to this... just wondering where I should be inserting that

Kiran Subbaraman wrote:
> Hello,
> I configure my application context to /kiranApp, and my APP Servlet
> (subclass of AbderaServlet) to /atom/*. 
> My service document's resolver-pattern is set to /service* - In the
> TargetResolver
> Therefore, I should find my service document at
> http://localhost:8080/kiranApp/atom/service. But then, I get a 404 for
> this. Is there something I need to do in my Provider, to ensure that the
> context path (/kiranApp/atom) is taken into consideration? or more
> specifically, my servlet's context path is taken into consideration?
> Whereas, when I do not configure my servlet to /atom/*, but to just /*,
> everything works just fine. Am able to retrieve my service doc, and feed,
> and perform APP operations.
> Am a bit lost here. I referred to the discussions on the list around
> TargetResolver, and really couldn't find a match to what am looking for.
> Help... please.
> Kiran

View this message in context: http://www.nabble.com/App%2BServlet-context%2C-and-APP-operations----need-help-tf4820493.html#a13791427
Sent from the abdera-user mailing list archive at Nabble.com.

View raw message