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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

parsing a given date

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
thanks in advance
Ravi Kiran.

 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

Pl. post msgs only once. I am closing this,
pl see the other post.
Thanks for your cooperation.
- satya
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic