开发者

Display the Hindi encoded values in my select box

I am working on struts framework in java and I have a jsp which has a select box. Onchange of this select box I am displaying some values in a second select box. The first select box is displaying the Hindi characters properly. I select some value and the onchange function is called and it goes to ajax and gets the values in second select box. THe second select box is displaying question marks.The follwing is the jsp code

District(ज़िला) Municipality(नगर)

                                                            <html:select property="municipalitycode" bundle="utf-8"
        开发者_运维知识库                                                        styleId="mun_List" style="width:180px;"
                                                                onchange="getzones('myajax.do?action=getzones',this);getsections('myajax.do?action=getsections',this);">
                                                                <html:option value="">Select</html:option>
                                                                <html:optionsCollection property="municipalities" />
                                                            </html:select>
                                                    </tr>

Onchange of district, I get muncipalities. Please help?


Character encoding can be quite tricky, make sure you haven't missed out on anything. Refer the link below: http://balusc.blogspot.com/2009/05/unicode-how-to-get-characters-right.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜