Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need help on custom date formatter in Spring 3.0

 
vivek dr
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i need to parse date format passed to webservice to specific format.
By the way what is the default date format that it would understand???

no matter whatever i try i get below error in soapUI:

<data contentType="null" contentLength="147"><![CDATA[Request Failed: Cannot convert value of type [java.lang.String] to required type [java.util.Date]: no matching editors or conversion strategy found]]></data>


i googled a lot for the answers.. found few none of them worked.. below is what i tried,

application-context.xml




Any help will be deeply appreciated. since i have been trying with various permutations and combinations past 2 weeks with no luck... even posted this on spring community,, i got no response :-(
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i need to parse date format passed to webservice to specific format.


You are receiving a String in an MVC controller that must be converted to a date? If so what does the date string look like and how is it being posted in, perhaps show your handler method in your controller that is receiving this input.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic