Actually I have embedded the html with servlet code in a java class.
where user will enter the information in textboxes and will submit the values which will be saved in the database(MySql).At the same time I want the JTable to display the record saved in the database,the JTable should be at the bottom half of the page. In other words I have the same page where I will
enter the new record information through html on upper half of the page and the bottom half will consists of JTable to display the record information in tabular form.
So I want to know that is it possible to use JTable with the servlet, because we cannot extend to class at the same time.
Is there any other way to do so.I need help to display the record in JTable with the servlet.