struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alireza Fattahi <Alireza.Fatt...@pdpsoft.com>
Subject Design pattern for search and search result pages
Date Tue, 19 Nov 2002 12:06:53 GMT
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:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message