user3189926
user3189926

Reputation:

database driven program in java, insert update delete in same jsp page

I am developing in java. I have a form in jsp page which adds details in database (MySql). I want to show all data in the jsp page below the form and it also should have facility to edit, delete, multiple selection in the table in jsp page. which method should i use to do so. please guide me....

Upvotes: 0

Views: 753

Answers (1)

Jorge_B
Jorge_B

Reputation: 9872

Well, as a guide I would tell you not to do all that in the same page. Try to separe presentation duty from business logic, and that from the data layer, so you have smaller modules with defined tasks. That way, when you have to change one thing, it will not affect the rest (and it is very common changing presentation and/or data layer at least once in an application life)

Upvotes: 2

Related Questions