Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

<BR> tag in java String

843836Mar 8 2005 — edited Mar 10 2005
I have a TO(object) which I use in my JSP page to display a String, The String is reterived from DB and I am trying to seperate the String by including <BR> tag

reassignmentNotes = reassignmentNotes + "" + date +":" + notes + " <br>";

but it is not displaying in new line it is just printing the <br> tag also in the jsp page.

it is displayed as follows:
03/08/2005 9:16 AM:complete from reassignment, 'cause user left <br>03/08/2005 9:18 AM:cancel from reassign, agreement not required. <br>

I want to break String into different lines in my jsp
any help is appreciated

sai
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 7 2005
Added on Mar 8 2005
14 comments
497 views