Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 8364 invoked from network); 1 Aug 2006 11:44:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Aug 2006 11:44:32 -0000 Received: (qmail 57999 invoked by uid 500); 1 Aug 2006 11:44:23 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 57755 invoked by uid 500); 1 Aug 2006 11:44:22 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 57744 invoked by uid 99); 1 Aug 2006 11:44:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 04:44:22 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of fcoexposito@hotmail.com designates 65.54.246.225 as permitted sender) Received: from [65.54.246.225] (HELO bay0-omc3-s25.bay0.hotmail.com) (65.54.246.225) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 04:44:21 -0700 Received: from hotmail.com ([65.54.168.31]) by bay0-omc3-s25.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 1 Aug 2006 04:44:00 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 1 Aug 2006 04:44:00 -0700 Message-ID: Received: from 65.54.168.200 by by113fd.bay113.hotmail.msn.com with HTTP; Tue, 01 Aug 2006 11:43:56 GMT X-Originating-IP: [15.203.169.126] X-Originating-Email: [fcoexposito@hotmail.com] X-Sender: fcoexposito@hotmail.com In-Reply-To: From: "Francisco Exposito Aguilera" To: user@struts.apache.org Subject: html:optionsCollection problem Date: Tue, 01 Aug 2006 11:43:56 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed X-OriginalArrivalTime: 01 Aug 2006 11:44:00.0851 (UTC) FILETIME=[C7FE9A30:01C6B55F] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I have a Bean: package project.struts.General; import java.util.ArrayList; import java.util.Collection; import java.io.*; public class Prueba implements Serializable { private Collection empresas=new ArrayList(); public Collection getEmpresas() { empresas.add("string1"); empresas.add("string2"); return(empresas); } } and a jsp where I write: But it doesn't work. I receive the error javax.servlet.ServletException: Cannot find bean under name org.apache.struts.taglib.html.BEAN How can I solve this issue? Or what is the correct way to generate this? Thanks in advance _________________________________________________________________ Un amor, una aventura, compa��a para un viaje. Reg�strate gratis en MSN Amor & Amistad. http://match.msn.es/match/mt.cfm?pg=channel&tcid=162349 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org