This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to display the value of Xstream variable in jsp in XML format.  RSS feed

 
anil namburi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Iam getting variable of type XStream(Which contains data in the form of XML) from servlet. But while displaying the value of varaible in JSP it is not displaying the value in XML format.
Could you please help me how to display the value of variable in same format(XML format) in JSP.

Thanks in advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66188
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Be sure to escape any angle bracket characters (<c:out> does this automatically), and put the construct between <pre> tags.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!