This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General 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