This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSP and the fly likes GUI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic


Shiaber Shaam
Ranch Hand

Joined: Jun 16, 2006
Posts: 252

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..


Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63542

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.

[Asking smart questions] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
subject: GUI
jQuery in Action, 3rd edition