Announcement Announcement Module
Collapse
No announcement yet.
spring mvc and Hebrew Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 03:54 AM. Reason: Added more info
Working...
X