Re: where to call the DAO

2004-06-21 Thread Rick Reumann
javen fang wrote: In your Action where JSP comes from. In Action get the list from DAO, I usually throw in one more layer between the Action and the DAO. (Throw whatever groovy Design Pattern name you want at it.. delegate, facade, whatever.. I get them all confused :). Bottom line is I like

Re: where to call the DAO

2004-06-20 Thread javen fang
In your Action where JSP comes from. In Action get the list from DAO, and request.setAttribute, and in the JSP use --- sougata <[EMAIL PROTECTED]> wrote: > Hi All > I am working with struts framework.I have a JSP page > (index,jsp) here I am > population a Dropdown from database.Where to > popu

where to call the DAO

2004-06-20 Thread sougata
Hi All I am working with struts framework.I have a JSP page (index,jsp) here I am population a Dropdown from database.Where to populate the driopdown.Actually my DAO class is returning a List of dropdown values.In JSP shall I call the DAO class.But I am sure this will be a bad practise.Can anyone h