Datatable in Spring MVC

While we are performing data binding, in JSF we have the ability to process data in a table with a style.

Is there any datatable type function in spring MVC? I am using JSTL forEach as usual. But if there is any function of type datatable (in JSF), we can easily manage it, including the CSS style.

+4
source share
3 answers

There is nothing specific for Spring MVC - in fact, it does not provide any user interface components, see Spring MVC and UI Components

In the past, I ended up using JSP tag libraries or JavaScript libraries.

You might want to check out Show Tag (JSP) or the jQuery Datatables Plugin (JavaScript). With Display Tag, I often ended up writing some utility classes for abstracting and handling paging / sorting in a controller.

+1
source

I have included Spring MVC, Hibernate, and DataTables in several projects. I wrote howto for Spring Roo , but it can be easily applied to regular Spring MVC applications and with any JPA implementation.

There is also a link to the entire project on github .

0
source

All Articles