Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Struts and the fly likes Struts 2 property tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 property tag" Watch "Struts 2 property tag" New topic

Struts 2 property tag

sudhir pavan
Ranch Hand

Joined: Sep 01, 2011
Posts: 35
I am using property tag to display the value from DB.
It displays with default size and color.

Is it possible to change the font size and color of the property value.

<s:property value="%{_start_Date}" />

can you suggest some point regarding this?
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

<span><s:property value="%{_start_Date}" /></span> Apply whatever the style you want.

ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
Have you tried LearnNowOnline?
subject: Struts 2 property tag