aspose file tools*
The moose likes Struts and the fly likes GUI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "GUI" Watch "GUI" New topic
Author

GUI

Shiaber Shaam
Ranch Hand

Joined: Jun 16, 2006
Posts: 252
Hi,

I have a String with variable name problem as given below ...

problem = "<b>Date: </b>"+childElement.getAttributeValue("date")+"<br> Submitter: "+childElement.getAttributeValue("submitter")+"<br><b> Notes: </br></b>"+childElement.getText();

In my jsp, am displaying it using

<bean:write name="problem"/>,

But, the <b>,<br> tags are not getting effected.

What needs to be done?

Kindly help..

Thanks,


$Hi/\bEr
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60997
    
  65

Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

Using a simplistic title like "GUI" doesn't tell us anything about your post.

You can go back and change your post to add a more meaningful subject by clicking the .


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8866
    
    8

Set the filter attribute of the bean:write tag to false:

If this attribute is set to true, the rendered property value will be filtered for characters that are sensitive in HTML, and any such characters will be replaced by their entity equivalents.


Struts Bean Taglib Documentation


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
 
subject: GUI