File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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
Pass selected bean property to javascript
getting the value from <bean:write> tag
struts tags mixed within scriplets
Pass A String and Write Out Its Value in JSP
using ajax and struts iterate tags