Win a copy of Python Continuous Integration and Delivery this week in the Python forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

One servlet One JSP 2 forms  RSS feed

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Report post to moderator
One JSP, which contains two forms.

   

 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.
 
Those are the largest trousers in the world! Especially when next to this ad:
Become a Java guru with IntelliJ IDEA
https://www.jetbrains.com/idea/
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!