Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

parsing a given date

 
ravi gangavelli
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic