Is it better to dynamically build a table then initiate a datatable, or use scriptlets and then build the datatable? I’ve read and rethought about how I should approach this. I currently have it working both ways, but I’ve reading about the advantages/disadvantages of ajax/back/forward/state… It’s much easier with scriptlets since I really don’t have to worry/handle those situations, especially on refresh/backbutton/forward, but with ajax I have to handle all that personally. What would you pick and why?
scriptlets are normally frowned upon because they break the MVC model,
this site explains it better