This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes html string do not get rendred by browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html string do not get rendred by browser" Watch "html string do not get rendred by browser" New topic
Author

html string do not get rendred by browser

deep pal
Greenhorn

Joined: Mar 19, 2008
Posts: 6
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

Joined: Jul 21, 2004
Posts: 169
Post your related code. It is very simple
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html string do not get rendred by browser
 
Similar Threads
using ajax and struts iterate tags
struts tags mixed within scriplets
Pass selected bean property to javascript
Pass A String and Write Out Its Value in JSP
getting the value from <bean:write> tag