I am wondering if Java Spring MVC has some sort of implementation that relates to returning partial views like ASP.NET MVC? Basically I want to return HTML, that is bound to an object and return it to a javascript callback to append to the dom, stead of building the html with Jquery (which is tedious). If not I may go with Jquery templates.
I have done something like what you are asking. Basically I created a view, but I didn't associate it to the default layout. That way, when you load the view it only contains the HTML of the view, and not all the extras from the default layout.
Sorry I don't have the code on me to share.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With