Problemas com <html:select>

Ola pessoal,

Estou tentando inserir html:select na minha JSP,mas eu utilizo um objeto que insere os itens de escolha na html:select,e estou tendo problemas.Irei postar o código da página e do class que estam interagindo…

Minha jsp…

<%@ page language="java"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<jsp:useBean id="combo" class="br.com.gsp.infoArvore.myTree" />
 
<html> 
	<%
	  combo.generateMenu(request);
	%>
	<head>
		<title>JSP for interfaceSysForm form</title>
	</head>
	<body>
		<html:form action="/interfaceSys">
			<html:errors />
			<html:hidden property="local" value="form/image/struts.jpg" />
			
			<center><h3>Reflection</h3></center>
			<br>
			<br>
			<br>
			<table align="center">
			  <tr>
			     <%
			        String myLocal = request.getParameter("local");
			        
			        if(myLocal == null || myLocal.equals(""))
			          {
			     %>
			     <td><image src="image/struts.jpg"></td><td><html:text property="informacao"/></td>
			     <td><html:select property="controle"><html:options collection="<%=combo.MY_COLLECTION_LABEL%>"/></html:select></td>		     
			     <%
			          }else
			          {
			     %>
			     <td><image src="<%= myLocal %>"></td><td><html:text property="informacao"/></td>
			     <td><html:select property="controle"><html:options collection="<%=combo.MY_COLLECTION_LABEL%>"/></html:select></td>
			     <%
			          }
			     %>     
			  </tr>
			  <tr>
			    <td><html:submit value="Ok" />::::::<html:cancel value="Cancelar" /></td>
			  </tr>
		    </table>
		</html:form>
	</body>
</html>

O código da minha class

package br.com.gsp.infoArvore;
import javax.servlet.http.HttpServletRequest;
import java.util.*;

/**
 * @author weber
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class myTree {
   private Collection colecao;
   public static final String MY_COLLECTION_LABEL = "colecao";
   
   public void generateMenu(HttpServletRequest request)
   {
   	colecao = new TreeSet();
   	colecao.add("teste1");
   	colecao.add("teste2");
   	
   	request.getSession().setAttribute(MY_COLLECTION_LABEL,MY_COLLECTION_LABEL);
   }
}

O struts-config.xml está ok.Agora o erro que me retorna

org.apache.jasper.JasperException: Cannot create iterator for colecao

Imagino que o erro esteja na class myTree…Valew pessoal! :smiley: