Re: Newbie question: JSP not rendering HTML tags!

Discussion in 'Java' started by Sunitha Kumar, Jul 7, 2003.

  1. Never mind, I got it.

    Just set the escapeXml tag to false, to view the message.


    "Sunitha Kumar" <> wrote in message
    news:bea8g4$4be$...
    > Hi,
    >
    > I have a JSP output page that displays a message sent from a servlet; I'm
    > using a <c:eek:ut value=.../> statement to print out the message.
    >
    > The servlet sends the message, including some HTML tags like
    > this:<tr><tr><b>Message:...</b></td></tr> as a StringBuffer object to the
    > output.jsp page.
    >
    > What could I do to make the output.jsp render the HTML passed in along

    with
    > the message, instead of it just printing out the string as text, without
    > rendering the HTML?
    >
    > Please help!
    >
    > Thanks,
    >
    > Sunitha Kumar
    >
    >
    >
    Sunitha Kumar, Jul 7, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike
    Replies:
    3
    Views:
    859
    Michael Borgwardt
    Jan 9, 2004
  2. Lukasz Indyk
    Replies:
    1
    Views:
    1,452
    Andrew Thompson
    Sep 22, 2004
  3. koslows
    Replies:
    0
    Views:
    522
    koslows
    May 12, 2005
  4. ramakrishna
    Replies:
    0
    Views:
    1,225
    ramakrishna
    May 4, 2006
  5. Dave
    Replies:
    0
    Views:
    442
Loading...

Share This Page