Forums Register Login

parsing a given date

+Pie Number of slices to send: Send
hi friends,
I request u to post ur suggestions to help me solve the following problem .
I used java.text.DateFormat class to parse a date string whose format is of the form (feb 14, 2001).
DateFormat d=DateFormat.getDateInstance();
d.parse("feb 14, 2001"));
now the problem is when I used the code as a standalone program it worked perfectly ,but when i used the same in a servlet i am getting unparseable date exception.I am using jws2.0
and jdk1.2
ur quick response will help me alot,
thank u
Ravi Kiran.
+Pie Number of slices to send: Send
Ravi,
I think that you are stuttering. I have seen this question ALL OVER the place.
However since the question relates to servlets, and that is one place you did not ask the question, I will move it over there.
Lasagna is spaghetti flvored cake. Just like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 792 times.
Similar Threads
parsing a given date
parsing a given date
java.lang.ClassCastException at com.
long story from another scjp !!!
parsing a given date
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 04:58:18.