String mssg=mssg+"<ul onClick='getValue(this)'><li><click me</li></ul>";
I'm executing the java class which consist above code and retrieves the output in html page by using mssg variable. But in html page the value of mssg comes like.....
<ul onClick='getValue&x28;this&x29;'><li><click me</li></ul>
As we know the ascii value(hexa) of '('
is (
but it comes something different.
So please help me to get the parenthesis instead of ascii code.
And why parenthesis is converted to that value, please explain.
- click me
"; – Mrinmoy Mar 30 '15 at 13:13
";` or 3) change the encoding of your file... `Which IDE are you using? – Jordi Castilla Mar 30 '15 at 13:16