
can you provide an example for multiple select values for html:select tag

<html> <body> <select name="carlist"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option> </select> </body> </html>

this is normal html.. not html tags in struts..and definitely not for selection of multiple values..

Hi,
Which version of struts you are using?
Thanks

Struts 1.2 A small example would definitely help..thanks

<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body bgcolor="#999933">
<html:form method="POST">
<table border="2">
<tr><td>
<html:select name="SelectTagActionForm" multiple="true" size="5">
<html:option value="0">select 0</html:option>
<html:option value="1">select 1</html:option>
<html:option value="2">select 2</html:option>
<html:option value="3">select 3</html:option>
<html:option value="4">select 4</html:option>
<html:option value="5">select 5</html:option>
<html:option value="6">select 6</html:option>
<html:option value="7">select 7</html:option>
<html:option value="8">select 8</html:option>
<html:option value="9">select 9</html:option>
</html:select><br/><br/>
</td></tr>
<tr><td>
<html:submit/>
</td></tr>
</table>
</html:form>
</body>
</html>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.