May 16th, 2012, 12:32 PM
Struggling with @RequestMapping
I'm trying to implement a server side Dojo store for use in a directory browsing type application (see http://dojotoolkit.org/documentation...e_driven_tree/). However, I haven't been able to figure out how to get the "path" parameter populated: The REST URL ends up being something like http://.../<service>/path/to/a/file, where the number of path elements of course varies as the tree is walked. Is there a way to get "/path/to/a/file" as a request mapping variable without the dreaded "Did not find handler method for [<service>/path/to/a/file]?
May 17th, 2012, 11:02 PM
Is it possible for you to generate the URL on the client-side as http://.../<service>?path=/path/to/a/file? Then you can use RequestParam instead of PathVariable.