• Post Reply Bookmark Topic Watch Topic
  • New Topic

Binding a model to a JSP form  RSS feed

 
Amit Dalvi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all ,

i have a tricky situation and want some help on the same ..
i have a jsp and a spring controller.
in the jsp i have a requirement where in there are text boxes to fill up.
ex: student info.
student name and roll no and i have add more button
so i can have muliple input boxes which goes as

student name: "     "   roll no: ="   "  <add more>
student name: "    "     roll no:= "    " <add more>
submit

i am trying to use the form


hence i created a class called Student.java

i create a form

i want to bind this studentform to the jsp and get the same to the controller using modelattribute.


how can i do this.
is this possible.

thanks
Amit



 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!