This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html display

 
lynn fann
Ranch Hand
Posts: 115
  • 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
  • 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
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic