I have one form in JSP. I have some input fields on this page when a user enters their values and then clicks the "Submit" button so that the values are inserted into the database.
But my goal is that when the user clicks the submit button, one new popup will be created, and this new popup will carry these values during inserted values in the parent window. Example: first page: Insert.jsp and popup: Verifyinsert.jsp. Insert.jsp page 3 contains input fields, such as roll number, student name, address. The user will enter these 3 fields first on the Insert.jsp page, and then the user will click the Submit button on the Insert .jsp page, after which one new pop-up window (Verifyinsert.jsp) will be created, carrying values when the user simply typed Insert.jsp and in which there is a submit button on the Verifyinsert.jsp page, and if the user clicks the "Send" button, the records will be inserted into the database, and if the "Cancel" button is clicked on Verifyinsert.jsp, then this pop-up window simply will disappear. How to do it?
Any help is greatly appreciated.
source share