Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 53741 invoked from network); 2 Jan 2003 21:16:57 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 2 Jan 2003 21:16:57 -0000 Received: (qmail 15320 invoked by uid 97); 2 Jan 2003 21:18:02 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 15278 invoked by uid 97); 2 Jan 2003 21:18:01 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 15261 invoked by uid 98); 2 Jan 2003 21:18:01 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Thu, 2 Jan 2003 13:16:42 -0800 (PST) From: Michael P X-X-Sender: plumpy@mcgruff.krimedawg.org To: struts-user@jakarta.apache.org Subject: Ye olde html:options tag? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I apologize for this basic question, but I'm new to struts and Java web programming in general, and I really can't get the tag to work... The error I'm getting, specifically, is: javax.servlet.jsp.JspException: No getter method available for property email for bean under name users My JSP defines a collection like this: Then tries to use it like this: My understanding of this is that it will call getUsers() on the adminLoginForm bean to get a Collection, and then on each item within the collection, will call getEmail() to retrieve the option property and label. Do I need to define a bean somewhere (in some XML file?) for the user objects contained within the collection or something? The collection contains UserView objects that /do/, in fact, have a getEmail() method, so I can't figure out why this won't work. I have defined a form-bean for the login form: Thanks for any help you can offer... -- To unsubscribe, e-mail: For additional commands, e-mail: