• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

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