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
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.
 
Don't get me started about those stupid light bulbs.
 
subject: Struts 2 property tag
 
Similar Threads
html:radio..
equivalent of checked attribute of radio button in struts
hi i'm doing struts1.3 validation for radio button please i want to display error msg on same jsp
How to change color in the options using html:options
nested write