I have already created a dataTable, but I have got problems with inserting my data. I´m working with Tomcat and I have implemented a suggestionBox. The suggestionBox gets the data from a database. If I click the submit Button the String in the suggestionBox is searched in an index and the data will be shown in a new page. That works fine. But know, I want to insert the output from he index in a dataTable. I dont´t know, how to do this in the Java.class, so that the table knows, that it has to take the output from the index.
Can someone help me, or has someone got an example which she or he could send with.
I´m looking forward to your answers!!