Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Text parsing

 
M. White
Greenhorn
Posts: 18
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I already tried searching the forum for entries similar to mine. Unfortunately I only found 1 but did not work to me. So here's my problem: I getting a String from server that is formatted as a html code and put it in <td> tag. But the string was parsed only as text. I also added a <pre> tag but it still didn't work. By the way, im using struts2 property tag. Any help?



didnt render as html code.

 
Joe Ess
Bartender
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you look at the Struts 2 Documentation for that tag, you'll notice a parameter called "escape" that will help you out.
 
M. White
Greenhorn
Posts: 18
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didn't even bother to check that. Thanks a lot Joe Ess!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic