You are asking for a lot of things in that one question. Questions like these don't usually get answers because they are too vague or require too much explanation.
Let's try and split up your question.
I want that when user clicks any of the button corresponding to its item that item should be inserted in a List in java so that i can add it to my db using hibernate in my action class
1) Have you implemented the page? Do you have the buttons showing up? If not, then first write up simple page with maybe just one button and let the on click action trigger some change
2) Have you worked with
Struts before? If not, then I would suggest that you find some decent tutorials and go through some examples before applying it in your application
3) Once you know how Struts is setup and how to map the page actions to your Java code (action classes), it won't take long to implement it.
4) As for Hibernate, that's a completely different part. Have you worked with Hibernate? If not, find some good tutorials and try out some sample applications.
Overall, break down your tasks into smaller subtasks and implement that one at a time. Once that's done, it will be easier to just tie them together in your application