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

  • SEARCH
  • Home
  • 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 6871847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:51:15+00:00 2026-05-27T03:51:15+00:00

since I’m trying to solve this problem for some days, I thought about giving

  • 0

since I’m trying to solve this problem for some days, I thought about giving you guys a chance. The situation:

We’re running a SAP Shop with Java Server Pages and Struts in background. We had to disable the HTML Header setable Cache with:

response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Expires", "0");

Now what I want to do seemed to us as a simple task but turned out to be more scientific than we expected.

We want to turn auto-complete for IE back on just for the login page. What I and my colleague tried were simple approaches like resetting the header values to various “should be caching” values like ‘public’ with expirens tomorrow or sth. Neither did anything give us that auto-complete boxes in IE6 and up.

So does anyone know a method for JUST ONE PAGE in a Struts system to turn the caching & as we think the autocomplete back on?

  • 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-27T03:51:16+00:00Added an answer on May 27, 2026 at 3:51 am

    Okay by now I found the answer myself. It seems easier when you talk about it, does it?

    So the problem was, that we used a javascript function to submit our login form site. But that’s not how you should do it (say’s microsoft). I heard a techcast some minutes ago about the internet explorer relying on suspicious buttons for implemented browser functionality.

    Having heard that the answer was kind of clear in my head. I head to submit over a button. Since we (HAVE TO!) use Javascript to submit, cause the button is only a styled div, I had to call a button click to show IE that we do a ‘official’ postback.

    That’s the code:

    function submitLoginForm()
    {
        var hiddenSubmitBtn = document.getElementById("hiddenSubmitButton");
        if(hiddenSubmitBtn.click) {
            hiddenSubmitBtn.click();
        } else {
            document.loginform.submit();
        }
        return false;
    }
    

    It now works fine.

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

Sidebar

Related Questions

Since I'm trying to be efficient in this program I'm making, I thought I'd
since last post, did all the changes suggested but this problem still haunts me.
since this morning I keep getting this error when trying to launch my MVC
Since this question is back to four votes to close, I'm trying again to
Since the keyboard is the interface we use to the computer, I've always thought
Since I'm pretty new this question'll certainly sound stupid but I have no idea
Since the retina display, suddenly this piece of drawing code seems to not work
Since I'm new to coding and I'm trying to understand why here is a
Since 10.5, Spotlight on Mac OS X has this nice Dictionary integration you might
Since I am new to using Unity 2.0, I need some pointer or suggestion

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.