Hi guys,
I need an advice on a html-refreshing issue
I have one html document containing three different forms with three submit buttons for each form.
The first form has some input fields for personal information (name,surname, age etc). When the user fills in the fields, presses the submit button, all the information is send to the DB and saved there. The problem is, when the user presses the submit button, the according .jsp for the form is activated and I loose my html site (it gets redirected to a blank white page).
How can I make it not jump to the blank page, but to stay on the same HTML site, execute the JSP and give a short feedback like "your data has been saved". Then the user can go on to fill the next form - the contact details.
There, the DB should recognize that this is the same user and save his contacts accordingly with the same userID. Here a second question:How do I manage this with seassions or with passing variables?
Any any help is much appreciated.
thanks!