Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

pdf trying to open in the downloaded xls  RSS feed

 
sushil grover
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In my application i have pdf as well as xls downloads.
After downloading xls, keeping xls open, when i try to download pdf, xls window gets up, and pdf is not downloaded.
Although normal pdf download is working properly.
Please revert if anyone has faced this issue before.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not enough information to go on.

Moving to servlets in lieu of any environmental information.
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are you sure the file being downloaded is actually a PDF and not the same .xls again? It sounds like your servlet has remembered the xxx.xls. If it were happening to me, I would make a logging statement to display the name of the file the servlet is serving
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!