• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

from submission

 
krishna
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we submit two froms from a single JSP.
regards
KRis
 
Sam Cala
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What I understood is that you want to have more than one form on a single JSP, yes you can have more than one form on single JSP but only one form will get submitted at a time...
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sam Cala:
What I understood is that you want to have more than one form on a single JSP, yes you can have more than one form on single JSP but only one form will get submitted at a time...

and realize that's not a limitation of JSP, but a limitation of HTML.
One SUBMIT button can't control two forms. Try combining everything to one form.
 
ersin eser
Ranch Hand
Posts: 1072
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Krishna,
We have a naming policy here at JavaRanch where all publicly displayed names take the form, "Firstname Lastname". Could you please change yours to bring it into line?
Thanks in advance and we hope that you enjoy your stay at the JavaRanch!

ersin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic