• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

need help on custom date formatter in Spring 3.0

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 :-(
 
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic