Yeah the java API doesn't give any validation for csv files.
For Netscape/Firefox/IE the file content type for a csv file comes as application/octet-stream.
I am validating that the file uploaded by the user has this type and extension csv.
However as you might have guessed that if I intentinally save a bitmap file with a csv extention then also this validation succeeds.
So this is a *poor* way to validate csv files.
Any ideas on how this validation can be done in a better way?
thanks and regards,
Sunetra.