• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Binding of user input to command objects

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I understand that spring 2.x provides a feature of binding all user input (entered through Html forms) to the command object. But, I have two questions related to binding.

1) I see that both spring:bind tags and spring:form tags can be used for data binding. Then what is the difference between them? Are spring:form, form:input, form:hidden tags a replacement of spring:bind tags?

2) In my sample spring applications I have been binding my user inputs to command objects without the use of spring:form tags. If I am able to do that when why should I use spring:form tag library.

Please advise.

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic