Hello, I am creating an application which has a search form. the search form has several fields which represent attributes of a person object that is stored in a database. i gather the user inputted values into the actionform and they are passed to my struts Action class. I will use these values to create a sql query which will return a recordset of all people who match the query.
currently all of my sql queries are in methods in DAO classes that are called by methods in BusinessService class that are called by my Action classes. the Action classes assemble objects from the ActionForm fields. these objects are passed to the businessService methods. the BusinessService class either parses or passes the object to the DAO, which assembles the SQL query. but in the case of the search form, the object i am trying to represent is the SQL query itself, which kind of screws up my nicely layered and seperated architecture outlined above. any thoughts or suggestions? dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]