I'm writing the data in form of inputstream to servlet response output stream as ".xls" file.
The download happens fine, when i trying to open the file it's giving the security warn and alert message with yes or no option
" The file you're trying to open 'ABC DATA.xls', is in a different format than specified by the file extension. verify that the file is not corrupted and is from a trusted source before opening file. Do you to open file now ? "