File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes how to make my label in multiple lines Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to make my label in multiple lines" Watch "how to make my label in multiple lines" New topic
Author

how to make my label in multiple lines

harilal ithikkat
Ranch Hand

Joined: Oct 06, 2008
Posts: 221
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


SCJP 1.5
"A candle looses nothing by lighting another candle"
itechmentors.com
Chinna Eranna
Ranch Hand

Joined: Dec 08, 2009
Posts: 174

try with this...

order &lt;br&gt;(Most comfortable


- Chinna
harilal ithikkat
Ranch Hand

Joined: Oct 06, 2008
Posts: 221
no it didnt work
order < ; br > ; (Most comfortable
this is what i got
Chinna Eranna
Ranch Hand

Joined: Dec 08, 2009
Posts: 174

Try.. make sure there are no spaces...

order &ltbr&gt(Most comfortable

harilal ithikkat
Ranch Hand

Joined: Oct 06, 2008
Posts: 221
no dude..still same
 
jQuery in Action, 2nd edition
 
subject: how to make my label in multiple lines