• Post Reply Bookmark Topic Watch Topic
  • New Topic

Submit parent and child records using JSP  RSS feed

Shridhar Raghavan
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!