Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html display

 
lynn fann
Ranch Hand
Posts: 115
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in my database i have string like as followed:

hello<br> <i> world</i>

but when retrieve from database it retrieve as 1 whole string and display it. I want the text to be display as what it is format by the HTML tags. Is there anyway to do it?

Ps, im using struts framework.
 
suresh kalass
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are you using c_rt ut? if yes then display without using c_rt ut as it displays everything as such.... or you can save it in some variable and then display that will work fine
 
lynn fann
Ranch Hand
Posts: 115
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is c_rt: out??? how do i display using using that tag? but if i set as variable is 1 whole string right? so when i display out, it still as String, isn't?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic