The goal is to send data from this forms to one servlet, which inserts its to database.
From one form data values must be inserted to one table-database, from second form - to second table-database, accordingly.
But when I try to send data from one of this forms (for example "newsModalDialog"), joint table is created. This table contains fields from two tables. And this new table is empty.
Thus, values are not inserted to database, through servlet.
I hope, I created my topic in a proper branch of forum.
Bear Bibeault wrote:You never really adequately explained why you are using two forms in the first place.
That is highly irregular. And when something is highly irregular, its a good bet that it's not the best approach.
So why the two forms?
I use two forms, because its a structure of web-page. Page consists of 2 parts. Each part is used for sending different kinds of data to different tables in DB.
For example, one part - for news, other - for push-messages.
Or any other way to realise this structure is possible?