Announcement Announcement Module
Collapse
No announcement yet.
The request sent by the client was syntactically incorrect (). Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • The request sent by the client was syntactically incorrect ().

    Hello, please help me, what is the problem?

    @Controller
    @RequestMapping(Array("/documents/{documentId}/versions/{versionId}"))
    class DocumentVersionController {
    @RequestMapping(method=Array(RequestMethod.GET))
    def show = "versions/show"
    }

    And I visit the url: http://localhost:8080/App/documents/1/versions/4

    But I got the "The request sent by the client was syntactically incorrect (). " error.

    But another controller

    @Controller
    @RequestMapping(Array("/projects/{projectId}/districts/{districtId}"))
    class DistrictController {
    @RequestMapping(method=Array(RequestMethod.GET))
    def show = "districts/show"
    }

    and the URL "http://localhost:8080/App/projects/1/districts/2" works fine.
    Last edited by truelixin; Jul 17th, 2012, 04:25 AM.
Working...
X