<%@ taglib prefix="s" uri="/struts-tags" %> <html> <head> <title>Combobox (Form Tag) Tag Example!</title> <link href="<s:url value=" mce_href="<s:url value="/css/main.css"/>" rel="stylesheet" type="text/css"/> </head> <body> <h1><span style="background-color: #FFFFcc" mce_style="background-color: #FFFFcc">Combobox Tag Example!</span></h1> <s:form> <s:combobox label="Colors Name" name="colorNames" headerValue="--- Please Select ---" headerKey="1" list="{'Black','Green','White','Yellow', 'Red','Pink'}" /><br> <!-- Use array list --><br> <s:combobox label="Fruits Name" name="fruitsNames" headerValue="--- Please Select ---" headerKey="1" list="fruits" /> </s:form> </body> </html>