This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile 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
Marshal
Posts: 3873
233
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 .
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!