• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

@InitBinder Not working

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I am learning Spring Framework. I was trying to implement @InitBinder to the project and I do not know why it is not working. Please help to figure the bug.












spring-dispatcher-servlet.xml


web.xml :



The project runs with no error but @InitBinder not working.
 
Sheriff
Posts: 5555
326
IntelliJ IDE Python Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you elaborate on what you mean by "not working"? What do you expect to happen that isn't happening?
 
M Hasan
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@Tim Cooke sorry. What I mean here is when I run the application it behave like @InitBinder is not there ..that means whether it is there or not the application behave same. For an example when I give a name, if the name does not contain Mr/Mrs then it should add Ms ..this is not working plus the date suppose to be like 2008/10/10 but I am using InitBinding so that even I put 2008-10-10 then it should work .
 
reply
    Bookmark Topic Watch Topic
  • New Topic