Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 3008 invoked by uid 500); 22 Aug 2001 16:13:43 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: struts-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 2999 invoked from network); 22 Aug 2001 16:13:43 -0000 Received: from f226.law11.hotmail.com (HELO hotmail.com) (64.4.17.226) by h31.sny.collab.net with SMTP; 22 Aug 2001 16:13:43 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 22 Aug 2001 09:13:19 -0700 Received: from 65.192.246.85 by lw11fd.law11.hotmail.msn.com with HTTP; Wed, 22 Aug 2001 16:13:19 GMT X-Originating-IP: [65.192.246.85] From: "Becky Moyer" To: struts-user@jakarta.apache.org Cc: mgosh@corp.attcanada.ca Bcc: Subject: String and Multiboxes Date: Wed, 22 Aug 2001 12:13:19 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 22 Aug 2001 16:13:19.0533 (UTC) FILETIME=[5BB30DD0:01C12B25] X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I think this is what you need. This is talked about in other messages in the mailing list, but this is hopefully a summary. The array of strings that represents the checked boxes will only contain strings representing the boxed that were checked. As an example - the X's represent checked boxes. String 1 X String 2 String 3 X String 4 You'd then have 2 arrays. The one array contains the labels (String 1, String 2, String 3, String 4), and the checked array would have (String 1, String 3). Thus, you always have to pass along your labels as well as the checked values. I don't really have time to look through your source, and will be out of town for a while, but from your email, this seems to be the issue. Hope it helps, Becky -----Original Message----- From: Mrinal Ghosh [mailto:mghosh@corp.attcanada.ca] Sent: Wednesday, August 22, 2001 10:26 AM To: 'beckym678@yahoo.com' Subject: Hi Becky, My name is Mrinal. I was going thru Multibox confusion after reading Struts mail-archive . Seems like you have resolved the problem. Same type of problem I am facing while using multibox in Struts framework. Let me give you little details : I have an array of object which I want to display on my jsp page, also I want to show check box, which I have defined as a String array in my Form Bean. Page is coming fine but after clicking some of the check box and submitting the form, I am getting the String Array for check box with different length. May be I am unable to make you understand my problem therefore I am sending you my ActionClass, ActionForm and JSP. My Question is : How I can get the Same String Array for check box with changed value ? <> <> <> It will be grate if you can help to resolv the problem Thanks Mrinal _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp