0 Replies - 1451 Views - Last Post: 02 November 2012 - 02:01 PM

#1 Jay0830  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 58
  • Joined: 01-June 10

JQuery-Struts2 Autocomplete How to handle special Chars

Posted 02 November 2012 - 02:01 PM

I used struts2-jquery's autocomplete to display brand name in my website,
<sj:autocompleter name="brandName" size="29" list="brand" id="filledBrand"/>

but when the brand name comes with "&", it would display "&amp;". ex: "H&M" -> "H&amp;M"

I tried to modify server.xml file, add " URIEncoding="UTF-8" " to <connector>, but the problem still there.
I tried to modify autocomplete, but I still can't get right way to do that.

Thanks, any reply would help me a lot.

Is This A Good Question/Topic? 0
  • +

Page 1 of 1