posted 17 years ago
contenet type:
is dynamically set. when a file is uploaded, formfile object is used to get the content type and is used for setting the content type.
content header:
response.setHeader("Content-Disposition", "attachmnet:filename="+fileName);