Skip to content Skip to sidebar Skip to footer

Ajax And Spring Mvc View List In A Table Not Working

I am new to ajax. I am using spring mvc, hibernate and Ajax. My ajax is able to persist to DB but to view the list in the table is not working. Could anyone help me on that. Below

Solution 1:

Since you are making Ajax call it was not refreshing the page hence you new model attribute is not getting loaded. You need to do partial refresh or full page refresh in success function. For full refresh, In success method try to refresh your jsp by putting window.location = '/CRUDWebUI/listP'


Post a Comment for "Ajax And Spring Mvc View List In A Table Not Working"