Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6175685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:58:05+00:00 2026-05-23T23:58:05+00:00

We are using IBM Websphere Application Server 6.1 and browser is Internet Explorer 8.

  • 0

We are using IBM Websphere Application Server 6.1 and browser is Internet Explorer 8.

We have a java servlet which dynamically generates PDF and MS Word documents. On the first attempt some users are saying they are getting

“Internet Explorer was unable to open this site. The requested site is either unavailable or cannot be found. Please try again later.”

As per Microsoft Support article id 323308
When you try to open a Microsoft Office document or a PDF document over HTTPS (SSL) IE fails with above error message.
This issue occurs if the server sends a “Cache-control:no-store” header or sends a “Cache-control:no-cache” header.
For IE8 Microsoft suggests to add registry entry on users Windows XP desktop. This is not very practical for us to do as we don’t control our users desktops. This does not happen for IE9, Firefox, Chrome, etc.

As per PK20531 WAS 6.1 is adding Cache-Control: no-cache=”set-cookie, set-cookie2″ and Expires
HTTP headers when there is cookie being set in the response.

Note – We are not setting the cookie in the servlet. The cookie is set by single sign-on software.

On the first attempt when the single sign-on (LTPA) cookie is being set and WAS is adding HTTP headers which IE browser does not like.

Does Java servlet api provide a way to remove http headers? Is there a technique to use Filter api to remove http headers?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:58:06+00:00Added an answer on May 23, 2026 at 11:58 pm

    If you remove the Cache-Control header from the response, then you’re not sending any instructions about caching and therefore the caching behavior would be unpredictable.

    It would be better to set the header to something else, rather than remove it. Presumably you want to enable caching on the browser for your pages. So you could add these lines to your servlet to enable caching in the browser:

    response.setHeader("Pragma", "cache");
    response.setHeader("Cache-Control", "private, must-revalidate");
    

    You could do this in a Filter too, because filters have access to the HTTP response object. But if you’ve written your own servlet then it’s probably more efficient — and clearer — to do it in the servlet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using IBM Websphere Application Server v6 and Java 1.4 and am trying
Hi I am using IBM Websphere application Server 7.0 trial version and the priod
What benefits do I gain by using IBM WebSphere Application Server Community Edition over
I'm using IBM RAD as the IDE and Websphere Application Server v6.0 to deploy
I have a certain library (IBM's WebSphere MQ) which I'm using, with an API
I'm developing a Java 5.0 application that connects to Websphere Application Server default messaging
I'm using IBM RAD with a WAS 7.0 application server. I'm developing a JSF
I have popup searcher in my application which lists the available record as hyperlink.
I am using the IBM Websphere Everyplace Micro Environment JVM on a Windows Mobile
I have recently upgraded from websphere 5.1.2 to websphere 6.1 server. I had some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.