Win a copy of Hands On Software Engineering with Python this week in the Jython/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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

One servlet One JSP 2 forms  RSS feed

 
Greenhorn
Posts: 28
  • 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.
 
He was expelled for perverse baking experiments. This tiny ad is a model student:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!