This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Label in Struts" Watch "Label in Struts" New topic
Author

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 ]

Merrill
Consultant, Sima Solutions
 
wood burning stoves
 
subject: Label in Struts