File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes excel page not opening in a browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "excel page not opening in a browser" Watch "excel page not opening in a browser" New topic
Author

excel page not opening in a browser

Confused
Ranch Hand

Joined: Jan 24, 2006
Posts: 54
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..
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60057
    
  65

OK. Now what?

(Translation: this post is not useful without code)


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Confused
Ranch Hand

Joined: Jan 24, 2006
Posts: 54
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.
Kartik Patel
Ranch Hand

Joined: Sep 12, 2005
Posts: 73
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: excel page not opening in a browser
 
Similar Threads
Problem in closing the browser
Opening Excel with JSP
Web report to Excel attachment in email
Opening excel sheet separately
Export data from Jsp to Excel taking more load time