This post is from a low-reputation account and contains an unverified outbound link. Be cautious before clicking external links.

How to update database in JSP

Words
79
Reading
1 min
Listen
Play
9y

You will learn: 1) How to create a web from to take values from a user: 2) How to pass those values from the user to a JSP page using action="updatingDatabase.jsp" and request.getParameter("name"); 3) How to prepare a INSERT sql statement with question marks; 4) how to fill the questions marks with the values from the user using
ps.setString(1, name) and ps.setInt(2, id) methods; 5) how to select the new table and display its content in a webpage.

Source:
https://www.roseindia.net/jsp/update-database.shtml

How to update database in JSP | Ecency