Hi,
I'm using SpringMVC to implement a REST API. At some point I need to have a hierarchical URI:

/folder/id/children/id/children/...id/children

With variable depth. Using RestEasy it is possible returning Resource from the top method recursively. Is there any way to implement it in SpringMVC? Otherwise have you any any suggestion for that?

The key point is that the children id are unique only at the same level so: the folder will not have 2 children with the same id but, in the whole tree, will exist several item with the same id.

Any help will be very appreciate.