• Post Reply 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Submit parent and child records using JSP

 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Been a long time. :-). I need to post from the browser the 1:m db relationship in one go. That i to say, insert the parent and child records in one go. I wanted to know how do i go about this. Prefer to accomplish this only through JSP and not involve Javascript. What i have been thinking is the jsp page first loads with a simple text field asking the number of child records. This is posted back to same jsp page which then renders itself with the parent form and equal number of forms for the child table. Is this fine and if so, how can i access the multiple form data through servlets.
 
reply
    Bookmark Topic Watch Topic
  • New Topic