Hello,
The method getContentType() from IUploadFile doesnt check the mime type
of the file, like it describes
String getContentType()
Returns the MIME type specified when the file was uploaded.
Instead, it only checks the extension of the file.
So, the methode will for example returns a mimetype of image/jpeg, when
a pdf-file which has .jpg extension is uploaded
http://tapestry.apache.org/tapestry4.1/tapestry-framework/apidocs/org/apache/tapestry/request/IUploadFile.html
regards,
Gusti Benawi
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]