Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet and Excel problem  RSS feed

 
Megan Hill
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I need to open an excel sheet when the user clicks on a link.
When I run the code I get SAVE/ DOWNLOAD dialog box.
Is it possible to get around the SAVE/DOWNLOAD dialog and open the excel sheet directly.
In other words, is it possible to download the excel sheet to a temp directory and open it from there.
Please help,
Thanks in advance.
 
Nikki Aniban
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Megan!
Try setting the headers for you response to recognize the MIME type that you want to open. In JAVA words:

Hope this helps! Goodluck!
- Nikki
[ August 19, 2003: Message edited by: Nikki Aniban ]
[ August 19, 2003: Message edited by: Nikki Aniban ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!