HttpServletRequest req = (HttpServletRequest) request;
HttpServletResponse res = (HttpServletResponse) response;
try {
// create DAO instance
InternetProductCategoryDAO dao = new InternetProductCategoryDAO();
// find category objects and attach to request
Collection categories = dao.findAll();
// now add this collection to the request
req.setAttribute(Constants.COLLECTION_MENU_KEY, categories);
// commit Hibernate transaction and close Session