aspose file tools
The moose likes JSF and the fly likes Cannot format given Object as Date Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Cannot format given Object as Date" Watch "Cannot format given Object as Date" New topic
Author

Cannot format given Object as Date

dinesh laxman kumar
Greenhorn

Joined: Jul 11, 2012
Posts: 16
Hi,

I have a xhtml page with JSF coding...

When I open the page for the first time I get a proper page where I give inputs.

But after the form is submitted and I request(or refresh) the same page I get the error

"Cannot format given Object as a Date"

Please,
Thanks in advance
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14491
    
    7

I'm afraid that's not enough information for anyone to guess what's wrong.


Customer surveys are for companies who didn't pay proper attention to begin with.
dinesh laxman kumar
Greenhorn

Joined: Jul 11, 2012
Posts: 16
Hi, it was actually because the date value had to be set to null after form submission

Thanks anyways
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Cannot format given Object as Date
 
Similar Threads
Java Date formatting problem
What's wrong with my SimpleDateFormat?
unable to type case
How to change Date Format
IllegalArgumentException