PDA

View Full Version : Resolved Upload IE, FF jpg


BubikolRamios
04-11-2009, 10:05 AM
on server side using : org.apache.commons.fileupload

When I upload jpg from FF , all is ok,
from IE7, the same jpg is recognized as (!item.isFormField()), that is ok.
however:


originalFileName = item.getName();// --> "", instead of filename
String contentType = item.getContentType();//--> aplication/octetstream, instead of image/jpg


What is the prob here ?

Edit:

ahh, forget it, now I'm gtting image/pjpeg
whish seems is oneof M$ things, the rest is ok.
Have no idea why there was previous troubles.