• 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:

SimpleFormController Code for two forms of user input

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I kindly request someone to put up an example of SimpleFormController with two forms i.e 1) a login form and 2) adding a customer form. On the web I am finding the examples with one form for input and in the second form they are displaying the input of the first form. The reason why I am asking is when I try to develop an application with two forms I am getting error as
"Neither BindingResult nor plain target object for bean name 'loginCmd' available as request attribute". I mentioned the command name in both the places , jsp and xxx-servlet.xml. I still face the same issue(Since two days). Could give me an example. Thanks.
 
reply
    Bookmark Topic Watch Topic
  • New Topic