• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

Basic authentication & showing EXCEL

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I am writing a web application that generates an excel document from a db-query in tomcat.
The way i am generating this is, to use a servlet and set the contentType to excel. Everything works fine without authentication.
When I add authentication to my webapplication, i cannot open the excel - file. Excel gives the following error : "Microsoft excel cannot access the file "filename" .The file name or path does not exits. "
The same error occurs when you put an EXCEL document in a public directory and basic authentication is required for the webapp... When you try to access this file through the browser "http://yourserver/webapp/test.xls", the same error occurs.
I am using Tomcat 4.1.29, Excel 97. I also tested with Office XP(same problem).
The java version I am using is 1.3.1
Does anyone has an idea how to solve this?
 
Do not meddle in the affairs of dragons - for you are crunchy and good with ketchup. Crunchy tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic