Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

@InitBinder Not working  RSS feed

 
M Hasan
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • 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.
 
Tim Cooke
Sheriff
Posts: 3747
208
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • 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
  • 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 .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!