• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html string do not get rendred by browser

 
deep pal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WHAT <bean:write name="msg"/> does�������..??

I make a string in java which have html tag..

While I display it using <bean:write it simply disply whole sting in browser�.do not render it..any solution..??
 
Srilakshmi Vara
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post your related code. It is very simple
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By default the bean:write tag will escape html characters. If you want to display the html as is then specify a filter attribute of false on the tag.

- Brent
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic