• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Object is created by default in spring without using @ModelAttribute

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Code ranch,

I have a spring controller class method as below




I have not annonated the Pojotest class @ModelAttribute but still an default object is created ,but it should be null as it is a normal Pojo class.

I have given a String object also in the parameters but no object is created for that..how come only pojo objects are getting created?

Can anyone please help me on this.

Thank you.


Regards,
D.Srikanth
reply
    Bookmark Topic Watch Topic
  • New Topic