Announcement Announcement Module
Collapse
No announcement yet.
Struggling with @RequestMapping Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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]?

  • #2
    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.

    Comment

    Working...
    X