<%@taglib uri="/struts-tags" prefix="s" %>
<html>
<head>
<title>Struts2.2.1_Optiontransferselect_Example1</title>
</head>
<body>
<h2>Struts2.2.1_Optiontransferselect_Example1</h2>
<hr>
<s:form action="resultAction.action">
<s:optiontransferselect 
leftTitle="List of indian cities.. "
headerKey="0"
headerValue="----Select Indian city-----"
name="IndiaCity"
list= "indianCityName"

doubleHeaderKey="0"
doubleHeaderValue="----Select American city-----"
rightTitle="List of American cities... "
doubleList="americanCityName" doubleName="americanCity">
</s:optiontransferselect>
<s:submit> </s:submit>
</s:form>
</body>
</html>