Input/Load data for a Tabbed HTML form from Spring Controller GET method

261 views Asked by At

I want to load a single page with multiple tabbed HTML form (with JSP, Bootstrap, JS, AJAX offcourse) from a Spring controller using GET method. Here different tabs will take input or show data from different tables.

Like, tab_1 will input data and will save in TABLE_A, tab_2 will input data and will save in TABLE_B with a reference from TABLE_A.

What should be the optimized way to do it?

1

There are 1 answers

1
LynAs On

Getting the tabs from controller is a bad idea. rather you could use some template thymeleaf or sitemesh. then connect the form with spring usual way