• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Binding a model to a JSP form  RSS feed

 
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



 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!