Results 1 to 1 of 1

Thread: spring mvc and Hebrew

  1. #1

    Question spring mvc and Hebrew

    Hi All
    I have a problem where Hebrew characters are not received well on the server side
    This is the method signatuer
    Code:
        @RequestMapping("/autocomplete")
        @ResponseBody
        public List<AutoCompleteResult> autocomplete(@RequestParam(value = "term", required = false) String searchPattern,
                SearchParameters search)
    I used the CharacterEncodingFilter and on the server.xml added the attributes useBodyEncodingForURI="true"
    URIEncoding="UTF-8" in the Connector tag
    trying to use this url
    localhost:8080/cgs2/domain/rest/expertise/autocomplete?term=%99
    or
    localhost:8080/cgs2/domain/rest/expertise/autocomplete?term=ש
    gave me the same result
    I am working with IDE STS and server VMware vFabric tc Server Developer Edition v2.6 [VMware vFabric tc Server]

    any ideas
    Last edited by litterat; Nov 7th, 2011 at 02:54 AM. Reason: Added more info
    mmmm, I think I will order a cup of coffee in this beautiful spring day

Tags for this Thread

Posting Permissions

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