This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a dropdown menu on my JSP page. data in this dropdown menu is supposed to come from Database.
I am familiar with design patterns like DAO,VO(DTO),Singleton etc..
Could anybody tell me what's the best practice to populate this dropdown menu from the data which came from Database.
Joined: Feb 24, 2004
How about putting the DAOs inside the ActionServlet and thus getting dropdown data in ActionServlet only. Once we have data(Collection) , we can put that in to the scope (request or session) and then use it in View ( JSP) is this a good solution ?