In this section, we are going to describe the radio tag. The radio tag is a UI tag that renders a radio button input field.
Add the following code snippet into the struts.xml file.
|<action name="radioTag" class="net.roseindia.checkboxlistTag">
Create an action class with two lists as shown below:
Create a jsp using the tag
a radio button input field.
Output of the radioTag.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