permaculture playing cards
The moose likes Struts and the fly likes Label in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Label in Struts" Watch "Label in Struts" New topic

Label in Struts

Bhavik Patel
Ranch Hand

Joined: Jul 12, 2004
Posts: 155
Hey there...I want to display the data that comes from struts action....But I don't want to use read only in <html:text>.. is there anyway i can display something like <html:label property="username"/>(I know struts doesn't have this tag)
Thanks in Advance..

SCJP 1.4<br />SCWCD 1.4(91%)<br />Working on SCJD -Bodgitt & Scrapper Constructions...<br /> <br />"It takes 43 muscles to frown & 17 to smile but it doen't take any to just sit there with a dumb look on your face .. Keep Smiling "
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
If you just want text to appear on the page, use either <bean:write> or the JSTL tag <cut>.
[ July 28, 2005: Message edited by: Merrill Higginson ]

Consultant, Sima Solutions
I agree. Here's the link:
subject: Label in Struts
jQuery in Action, 3rd edition