i have an jsp interface through which i am uploading an excel file to the server. now when i am calling that particuler excel page from a hyperlink.. it is not opening like an excel... showing some junk..
Im not having any problem while Im uploading an excel thru a jsp page.. It is being saved in the server fine. But when i am tring to access the .xls file from the folder list or by a url.. it is showing some junk..Is that some browser related problem.
posted 8 years ago
Have you set proper contentType in header. if not search for "setContentType + microsoft Excel" in google
Chop your own wood, and it will warm you twice. - Henry Ford