Passing content path to a Servlet through selectors fails -Need Suggestion
Hi All,
I have a requirement to build a latest article component which can be used across the many other site.
So I just thought of creating a servlet which will query all the article under a path(/content/geo/article) which can be controlled by author and send me a JSON response.
Considering the caching startegy I need to pass the parameters as selectors .(Passing as query parameter will not allow me to cache the json until some new article is created)
For Example /bin.article.<limit>.<offset>.json .
Now I need to pass the pagepath lets say /content/geo/article to servlet .Am not able to pass it as selector.Can anyone suggest me a solution for this.
Thanks,
Sambasivaraja.