In this section, we are going to describe the label tag. The label tag is a UI tag that is used to render an HTML LABEL that allows us to output label:name type of combinations that has the same format treatment as the rest of UI controls.
Add the following code snippet into the struts.xml
Create a jsp using the tag
>. It renders an HTML
LABEL that allows us to output <s: label name=" " value="
" /> combination that has the same format treatment as the rest of
Output of the labelTag.jsp:
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: July 28, 2007 If you enjoyed this post then why not add us on Google+? Add us to your Circles