Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to make my label in multiple lines

 
harilal ithikkat
Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ..
I am very new to struts 2..
while i was trying to study some ui tags i came across a scenario..it is as explained below

here i am trying to break up my label string but unfortunately my html tag(< br >) is just get displayed in browser instead of line break.

please help me out to solve this

Thanks in advance
 
Chinna Eranna
Ranch Hand
Posts: 174
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try with this...

order &lt;br&gt;(Most comfortable
 
harilal ithikkat
Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no it didnt work
order < ; br > ; (Most comfortable
this is what i got
 
Chinna Eranna
Ranch Hand
Posts: 174
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try.. make sure there are no spaces...

order &ltbr&gt(Most comfortable

 
harilal ithikkat
Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no dude..still same
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic