string change in jsp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sgxbytes
    New Member
    • Sep 2008
    • 25

    #1

    string change in jsp

    hi,

    i have a String S="hell(“two”)" ;

    two is not surrounded with double quotes its with “two”.
    i have set this string in request

    [code=java]
    request.setAttr ibute("Descript ion",S);
    [/code]

    from my jsp i called i tried to print S
    Code:
    <% out.print(request.getAttribute("Description")); %>
    it should print me hell(“two”)

    but its printing

    hell(?two?)

    two is surrounded with ?


    pls sort my problem out

    Raj
    Last edited by Nepomuk; Oct 16 '08, 12:07 PM. Reason: Added [CODE] tags
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Maybe your browser does not support those characters?

    Comment

    Working...