Add a table in jsp and js. Add the returning of the query result