Thanks Ansar!
In the JSP, as soon as I click the add button, I can see the values selected in the datatable(same page). And after that I select save (I don't have any errors displayed in my log file). As far as my understanding, after hitting the save button, I want those displayed datas in the datatable be populated in the database, but i'm not seeing it.
I'm using DAO, service class/interface, controller, and model objects. From the lookup table, I display the values, Those selected values should be displayed in the table "some_table" in the database.
I think I have a correct mapping in the hibernate.xml. So, my question is how should I implement this (in the jsp, value="save" action="#{controller.savedata)") in my controller?
FYI each time the data is inserted( which is not being inserted currently!), it will generate a sequence code.
Thanks for the advice!