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 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 Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 property tag" Watch "Struts 2 property tag" New topic
Author

Struts 2 property tag

sudhir pavan
Ranch Hand

Joined: Sep 01, 2011
Posts: 34
I am using property tag to display the value from DB.
problem:
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.
 
wood burning stoves
 
subject: Struts 2 property tag