This took time to repost
Let me explain
1. front end, I have a user input page
2.which takes the input params and calls DAO to update the data
I had implemented Using Hibernate
MY doubt is how the User Object is being passed to the DAO
where should i call all these ?
User user = new User()
user.setName(request.getParameter("UserName"))
inside the servlet which gets all the data from the JSP page or inside the DAO layer ??