Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 90701 invoked from network); 19 Nov 2002 12:08:32 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Nov 2002 12:08:32 -0000 Received: (qmail 11948 invoked by uid 97); 19 Nov 2002 12:08:52 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 11930 invoked by uid 97); 19 Nov 2002 12:08:51 -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 11918 invoked by uid 98); 19 Nov 2002 12:08:51 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <605C30FF35D20248809F09932799F43214A24E@MAIL.pdpsoft.com> From: Alireza Fattahi To: 'Struts Users Mailing List' Subject: Design pattern for search and search result pages Date: Tue, 19 Nov 2002 15:36:53 +0330 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, Imagine an application has 10-15 search and search result pages. We use dynform to get the information from search page form. So we do not write any code (form object) for this part. We search database and now want to return the results. Should we create an object like UserSearchResultObject.java and return the results as an array of this object? Could we create a dynamic form for search result too, and return an array of this form? Is it possible? Does it make sense? (It will remove the force of writing the object) Is there a predefined pattern out there? Thanks Alireza. -- To unsubscribe, e-mail: For additional commands, e-mail: