Results 1 to 2 of 2

Thread: Struggling with @RequestMapping

  1. #1
    Join Date
    May 2005
    Posts
    13

    Default 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. #2
    Join Date
    Mar 2012
    Location
    Gurgaon, India
    Posts
    49

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •