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 ?