D
D
Denis Kuznetsov2019-04-27 17:38:55
Java
Denis Kuznetsov, 2019-04-27 17:38:55

How to add data gradually to the database?

I can create an html file in which I will specify the fields, a button, and when this button is pressed, the Get method in the servlet will be called (this method returns nothing), it will simply add data to the database, I have not null fields in the table, so the transaction must be performed when collected all data at once. I'm trying to figure out how to make it so that there are several html files, the first one just had two links (a legal entity and an individual), and based on which user goes to, I will get data about what kind of person he is, after that he will be transferred to available tariffs and based on which tariff he chooses, I will receive the id of the required tariff, and then he will be transferred to the third page with a form where he will enter the full name, address, passport, if he chose an individual, and the company id if legal, and then all this data full name , ADDRESS, PASSPORT\OGRN, JUR\FIZ, tariff ID will be added at once to the table that stores applications ,

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Samsonov, 2019-04-27
@DennisKingsman

Accumulate data in session

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question