• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to write form inside form using jsp  RSS feed

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hii all,

i want to display form inside form in html , but i am getting error in that

 
Ranch Hand
Posts: 486
3
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i want to display form inside form in html , but i am getting error in that


What error you getting ?

And also, don't post duplicate question
https://coderanch.com/t/681121/java/write-form-form-jsp
 
Saloon Keeper
Posts: 18988
80
Android Eclipse IDE Linux
  • X Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot do that.

This is not a JSP problem. It is an HTML problem.

The HTML specification does not permit nested forms.

You can have multiple forms on one page, but each form must be completely separate from the others. When you submit the form, ONLY the control values inside THAT form get submitted. All other forms on the page are ignored.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!