Jsp using out.flush() with no effect on Windows 7 IE9

I have several JSPs with long running java code inside. To inform the user about the progress I use this html code
<div id="working">
Current row number: <span id="rowNumber">0</span><br />
Current row data: <span id="rowData">n/a</span><br />
</div>
and within my loop the js snippet to update the counter
%>
          <script language=javascript>
               document.getElementById("rowNumber").firstChild.nodeValue="<%=rowNumber%>";
               document.getElementById("rowData").firstChild.nodeValue="<%=firstValue%>";
          </script>
<%          out.flush();
This works fine in IE8 on a Windows XP while the JSP is running on a Tomcat 6.0.10 on java 1.6. The user gets the counter updated after each flush(). This could be seen easily in the source code and the progress of the snippets coming from the JSP back to the client.
Now we change to Windows 7 IE9 on the client (same server setup) and this behaviour doesn't work at all. The counter is never displayed, the browser source code is never updated on the out.flush(). For the user it looks like having no counter behaviour at all!
It looks like the Win7 TCP/IP stack (or Java?) buffer the javascript snippets and therefore the browser could not render the counter.
Has anybody an idea why this happens? And is there another trick to get a "counter" working with a long running jsp on Win 7?
Best regards
Edited by: 936263 on May 23, 2012 8:53 AM

Hi,
Does this driver apply to Windows 7? Maybe there is some compatibility issue, could you get a updated driver?
Alex Zhao
TechNet Community Support

Similar Messages

  • JSPs using Custom Tag with Boolean attribute cannot compile

    Hi,
    In Oracle9iAS(9.0.3), a jsp using a tag extension, which has a Boolean attribute, caused the following compile error, although the jsp is valid in other web containers.
    ERROR:
    /opt/oracle/j2ee/home/application-deployments/simple/simple/persistence/_pages/_test.java:56: Method toBoolean(java.lang.Boolean) not found in class _test.
    __jsp_taghandler_1.setExists( OracleJspRuntime.toBooleanObject( toBoolean( b)));
    JSP:
    <%@ page language="java" %>
    <%@ page errorPage="error.jsp" %>
    <%@ taglib prefix="jnpr" uri="/WEB-INF/testtag.tld" %>
    <%
    Boolean b = Boolean.valueOf("true");
    %>
    <jnpr:TestTag exists="<%= b%>"/>
    The boolean value is <%= b %>
    Tag Handler:
    package defaultpak;
    import javax.servlet.jsp.tagext.*;
    import javax.servlet.jsp.*;
    public class TestTag extends TagSupport{
    private Boolean exists = null;
    private java.lang.Boolean getExists() {
    return exists;
    public void setExists(java.lang.Boolean newExists) {
    exists = newExists;
    public int doStartTag() throws JspException {
    return super.doStartTag();
    Is this a known problem? Is there a way to get around this?
    Thanks in advance.
    Fred

    This is a known issue with 903, fixed in coming 904.
    In 903 the workaround is to use primitive type "boolean" instead of Object type "java.lang.Boolean" in user's getter and setter code for the taglib.
    -Prasad

  • Screen light auto turn dark when I use program/web with background dark in windows 8.1

    Hi there,
    I used HP Pavilion dv6t-6000 CTO Quad for 3 years.
    CPU: Intel core i7-2630QM
    GPU: AMD Radeon 6490m
    It build in windows 7 and I manual install ( fresh install ) windows 8. It's fine. But when I upgrade to windows 8.1, it have an issue and I really hate it.
    When I use "Sublime Text" ( with background is black ), the screen light is become darker. And when I back to ( e.g: a website with background is white ), the screen turn back to lighter.
    I tried many ways, included 4 ways here but it's NOT WORK. 
    NOTE: When I used Option 1 ( upper )
    1. Open PC settings, and click/tap on PC and devices on the left side
    2. Click/tap on Power and sleep on the left side, and turn on or off Adjust my screen brightness automatically on the right side under Brightness.
    ==> It's NOT SHOW button "Adjust my screen brightness automatically". It mean: I have NO built in auto brightness sensor.
    I think this issue is about AMD driver or Intel Graphic driver.
    Is anybody have idea???

    Hi @kolz,
    Welcome to the HP Forums!
    It is a wonderful  place to find answers and solutions!
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    i grasp that after updating your system from Windows 8 to 8.1 you are having an issue with the display going dim.
    You have tried some steps you located on the web but there was no change.
    Windows 8 an 8.1 are not supported Operating Systems for your notebook.  This does not mean they will not work only that HP has not tested it and therefore does not supply updated drivers.  You would need to check the manufacturer's site for any updated drivers.
    Downloading or Updating Software and Drivers for HP Computers
    When I checked the driver page for your notebook I did notice there is a  bios update, have you done that?
    HP Pavilion dv6t-6000 CTO Quad Edition Entertainment Drivers and Software
    As a bios update does have a potential to cause damage I suggest contacting HP support for assistance with that process.
    Updating the BIOS
    Please call our technical support at 800 474 6836. If you live outside the US/Canada Region, please click the link below to get a support number for your region.
    World Wide Phone Support
    Good Luck!
    Here is a link to Troubleshooting a dim display (Windows 8, Windows 7 and Windows Vista)
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Problems with JSP - using tag library with Weblogic 8.1

    I am getting the following error when I try to run a web application called "regain":
    /searchinput.jsp(2): Error in using tag library uri='regain-search.tld' prefix='search': cannot find tag class: 'net.sf.regain.ui.server.taglib.MsgTag'
    probably occurred due to an error in /searchinput.jsp line 2:
    <%@taglib uri="regain-search.tld" prefix="search" %>
    The classes that the .tld file points to are in the web applications WEB-INF/classes directory and I have put this path into my classpath environment variable (running Windows 2000 Server).
    This application runs fine on Tomcat.
    I can't not figure out whether is error is masking another error or what. I've tried using JDK and Jrockit for my web app - no luck.
    Please help! Thanks!

    anyone? :/

  • Are the MBA's powerful enough to use an Intuos4 with them effectively and not notice lag?

    Does anybody have any experience using an Intuos4 Wacom tablet with the first gen MBA 11.6" from 2010? I was curious if they're powerful enough to keep up with natural brush strokes, in sketchbook pro and artrage, the MBA's cursor seems to lag a little bit when making strokes on the trackpad.
    Thanks in advance.

    Here's the spec page on your G3 Pismo - http://www.everymac.com/systems/apple/powerbookg3/stats/powerbook_g3_400fw.html
    The max OS on the Pismo is Tiger 10.4.x Even if the Pismo could run Leopard 10.5, it would be slow. Snow Leopard 10.6 requires an Intel processor.
     Cheers, Tom

  • Can I use Leopard Server with Samba instead of Windows Box?

    I need to add an admin setup to a clients studio, basically to run a separate network with 4 win XP 32bit clients and a basic file sharing server that has roaming profiles.
    So my question is would a Mac Pro with 10.5 server running as a PDC via SMB be OK?
    I would much prefer to stay in the OS X world and seeing as its a basic setup it should be fine?
    I have read about serious issues with 10.5 and SMB on 64Bit clients (which we will not be using)
    Any tips etc really would be much appreciated

    Yes, CIFS/SMB services do generally work fine. (Some folks have had some problems here, yes.)
    There are various wrinkles with Vista NLTM authentication that are discussed around the forums.
    Providing Open Directory (the Mac OS X Server analog to Microsoft Active Directory) is more involved than providing disk services.
    You're going to want to read file and disk services and Open Directory materials in the manual set as a start.
    And if you're headed down this path, first get RAID configured and working, then get DNS working, DHCP and related, and then get OD working, and then add CIFS / SMB services and other such. Order how you install and configure your services here, as there are dependencies on what (other) services are available.

  • Issue using Flash IDE with Mac OS and Windows Web Service using NTLM authentication?

    I have an existing application that I developed on a Windows machine using CS5.  It uses a local intranet web service written in .NET using NTLM authentication.  The web service does multiple things such as read data from an SQL database, provide the user's username, and test for write/read access to a local company fileshare.  When my company upgraded, I went to a Mac with Flash CC which is great.  However, Mac's don't handle HTTP Authorization Challenge Blocks like Windows machines.  In Safari, Chrome, etc. it will pop up a little username and password box and proceed on without issue.  The issue is in Flash development.  When running the exact same application in Flash testing all script access fails with HTTP Status 401 errors.  I have searched the AS3 documentation, but the only thing built in to handle http challenge requests is in AIR not Flash.  The server admin's and I have tried all method's of cross domain policy files and access changes with no luck at all.  Does anyone have a solution to this issue?

    Did you check Apple Support Boot Camp article?
    iMac displays a black screen during installation of Windows 7
    http://www.apple.com/support/bootcamp/
    Installation Guide
    Instructions for all features and settings.
    Boot Camp FAQGet answers to commonly asked Boot Camp questions.
    Windows 7 FAQAnswers to commonly asked Windows 7 questions.

  • Using Raid 5 with HDD-8265 and windows 7 32-bit

    Hi
    I'm using a PXIe-1075 chassis with a NI-8262 to control a HDD-8265 which has a Areca ARC-1231ML controller. On the host computer a Windows 7 Professional 32-bit system is running. The HDD-8265 is recognized and I could install the latest driver. I also could generate a Volume Set on the Raid using Raid 5 level by using the ArcHTTPGUI Browser.
    The problem, which I'm facing now is that I cannot see the "unallocated disk" in the "Disk Management" of Windows. If I use Raid 0, there is no problem. Do I need to install any additional drivers for the Raid 5 in Windows 7?
    Thanks

    Here is the link for palm desktop 4.1.4
    http://kb.palm.com/wps/portal/kb/common/article/37014_en.html

  • Using Mbox 2 with Adobe CS6 on Windows 8

    Is this possible?  If so can you tell me where to find the drivers?

    markiedenver wrote:
    Is this possible? 
    Looks, from a quick search, like it isn't possible to get an Mbox2 to work with Windows8 at all. It will apparently work fine with Windows7 and XP but that's about it - no more drivers. And it's not an Audition issue - apparently it won't even work with PT.
    Windows8 is not trouble-free. It's fine on tablets and stuff like that but on any sort of 'proper' computer it has all sorts of issues. For instance, being part of a network is a bit of a nightmare - if you can get it to work at all. And there's more - as we keep discovering; Windows7 is a much better bet.

  • HT4759 Can I start using I Cloud on my PC (running Windows 8, IE9, & most updated Firefox& Chrome. if I have NO I phone or other Apple product to start the cloud on first? I want to use I Tunes on my Pc but do NOT want to load a lot of unneccary files on

    Do I HAVE to start the cloud on an Apple product before putting it on my pc???? I have no Apple products but desire to use the i cLOUD WITH MY Win 9 , 64 bit PC. IF my PC is up to date can I START using the I Cloud on my PC first?  do not want to download a bunch of files onto my cmputer if they are not going to work.

    You can only create iCloud account on an iOS device (iPhone, iPad or iPod Touch) running iOS 5 or higher, or on a Mac running OS X Lion (10.7.5) or higher.  If you don't have one of these you will not be able to create and iCloud account.

  • Strange problem with out.flush

    Code:
    package com.test.servlets;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.IOException;
    import java.io.PrintWriter;
    public class MultiThreadTest extends HttpServlet {
      public void doGet(HttpServletRequest req,HttpServletResponse resp) throws ServletException,IOException {
        doPost(req,resp);
      public synchronized void  doPost(HttpServletRequest req,HttpServletResponse resp) throws ServletException,IOException {
        PrintWriter out = resp.getWriter();
        out.println("<p align=center><b>Multi Thread Test</b></p>");
        out.flush();
        try {
          Thread.currentThread().sleep(10000);
        catch(InterruptedException ie) {
          ie.printStackTrace(out);
        out.println("<a href=MultiThreadTest>Multi Thread Test</a><br/>");
    }When i shield the out.fulsh() with "//"
    The ie println all the text at one time after the sleep time,
    So i use out.flush() to fulsh the text which before the sleep().
    Then,ie show the "<p align=center><b>Multi Thread Test</b></p>" and then after 10 seconds ,show the ""Multi Thread Test
    But the strange thing is ,this time, the ie shows:
    <p align=center><b>Multi Thread Test</b></p>
    <a href=MultiThreadTest>Multi Thread Test</a><br/>
    It displays the HTML source code,why?

    G'day mate,
    To the best of my knowledge doGet() and doPost() are both already multi-thread enabled, unless your application explicitly implements the "SingleThreaded" interface, which your code doesn't appear to do. As it is the servlet containers 'job' to handle threading issues I wouldn't expect to be able to override the doPost() method without getting strange output.
    I reckon your best bet would be to create a javabean from within doPost(), pass it the request and response objects and let it handle the timing...... also set doPost() back to it's default, otherwise only one request will be serviced at a time. If that is what you want to happen then implement the affore mentioned interface.
    Hope this helps.
    Regards
    Davo

  • Dynamic Link/ Replace with After Effects Composition between Premiere Pro CC to After Effects CC won't work. Says "importer reported a generic error"

    Trying to use the "Replace with After Effects Composition" to use Warp Stabilizer on a clip and transfer it back into Premiere Pro CC. The action is not  "grayed out" it allows me to click it and it opens up After Effects, then asks to open a new composition, but it doesn't open up the clip for me to work on it.
    Also is the Dynamic Link and Replace with After Effects Composition the same thing?
    Ive watched several tutorials and read threads but I still don't understand who to fix my problem.
    I have both CC versions of PP and AE, if that makes any difference.

    You have not provided any system information, no details about your sequence settings, your footage and whatnot. Nobody can even guess what may be going on.
    Mylenium

  • Outer Join with the query

    I have written the below query, our requirement is, Some employees have "Transport Allowance" but not "Project Allowance". For this, I tried to use OUTER JOIN with this query. But this query takes long time and failed. The following query works fine if the employee has both "Transport Allowance" and "Project Allowance" (without outer join) Now, I also need to retrieve the employees who have "Transport Allowance" but not "Project Allowance". How can I retrieve it?
    SELECT DISTINCT papf.employee_number
    , peev.screen_entry_value Transport_Allowance
    ,peev1.screen_entry_value Project_Allowance
    FROM apps.per_all_people_f papf
    ,apps.per_all_assignments_f paaf
    ,apps.pay_element_types_x petf
    ,apps.pay_element_types_x petf1
    ,apps.pay_element_types_x petf2
    ,apps.pay_element_entries_f peef
    ,apps.pay_element_entries_f peef1
    ,apps.pay_element_entries_f peef2
    ,apps.pay_element_entry_values_x peev
    ,apps.pay_element_entry_values_x peev1
    ,apps.pay_element_entry_values_x peev2
    ,apps.pay_input_values_x pivf
    ,apps.pay_input_values_x pivf1
    ,apps.pay_input_values_x pivf2
    WHERE
    papf.person_id = paaf.person_id
    AND paaf.assignment_id = peef.assignment_id
    AND paaf.assignment_id = peef1.assignment_id
    AND paaf.business_group_id = papf.business_group_id
    --Transport Allowance
    AND peef.element_entry_id = peev.element_entry_id
    AND petf.element_Name = 'Transport Allowance'
    AND pivf.element_type_id =petf.element_type_id
    AND pivf.name = 'Allowance'
    AND peev.input_value_id= pivf.input_value_id
    --Project Allowance
    AND peef1.element_entry_id = peev1.element_entry_id
    AND petf1.element_Name = "Project Allowance'
    AND pivf1.element_type_id = petf1.element_type_id
    AND pivf1.name = 'Allowance'
    AND peev1.input_value_id = pivf1.input_value_id
    AND (SYSDATE BETWEEN peev.effective_start_date AND peev.effective_end_date)
    AND (SYSDATE BETWEEN peev1.effective_start_date AND peev1.effective_end_date)
    AND (SYSDATE BETWEEN papf.effective_start_date AND papf.effective_end_date)
    ORDER BY papf.employee_number
    Thanks in advance.

    I am using sames tables with alias to retrieve the columns values from the same table.
    Here is my query.
    SELECT DISTINCT papf.employee_number
    , peev.screen_entry_value Transport_Allowance
    ,peev1.screen_entry_value Project_Allowance
    FROM apps.per_all_people_f papf
    ,apps.per_all_assignments_f paaf
    ,apps.pay_element_types_x petf
    ,apps.pay_element_types_x petf1
    ,apps.pay_element_entries_f peef
    ,apps.pay_element_entries_f peef1
    ,apps.pay_element_entry_values_x peev
    ,apps.pay_element_entry_values_x peev1
    ,apps.pay_input_values_x pivf
    ,apps.pay_input_values_x pivf1
    WHERE
    papf.person_id = paaf.person_id
    AND paaf.assignment_id = peef.assignment_id
    AND paaf.assignment_id = peef1.assignment_id
    AND paaf.business_group_id = papf.business_group_id
    --Transport Allowance
    AND peef.element_entry_id = peev.element_entry_id
    AND petf.element_Name = 'Transport Allowance'
    AND pivf.element_type_id =petf.element_type_id
    AND pivf.name = 'Allowance'
    AND peev.input_value_id= pivf.input_value_id
    --Project Allowance
    AND peef1.element_entry_id = peev1.element_entry_id
    AND petf1.element_Name = "Project Allowance'
    AND pivf1.element_type_id = petf1.element_type_id
    AND pivf1.name = 'Allowance'
    AND peev1.input_value_id = pivf1.input_value_id
    AND (SYSDATE BETWEEN peev.effective_start_date AND peev.effective_end_date)
    AND (SYSDATE BETWEEN peev1.effective_start_date AND peev1.effective_end_date)
    AND (SYSDATE BETWEEN papf.effective_start_date AND papf.effective_end_date)
    ORDER BY papf.employee_number
    Thanks in advance.

  • To use the concept of  using a template with multiple windows inside it.

    Good evening friends ..........
    I have a requirement from my client like this i need to make a smart form in that
    i need to display a template of kind like this
    it must have 1st row 1st column of height 35mm approx. ie which should have 5 rows height with
    no lines IE rows inside that column, and column width must be 4cm.
    and it has 2nd to 5th column of lengths 3cm each in the same row IE 1st row. and
    in 2nd row from 2nd to 5th column of lengths 3cm each. and
    in 3rd row from 2nd to 5th column of lengths 3cm each continue the same pattern till
    5th row and lastly .
    in 6th row i must have 1st 2nd columns with length 4 cm each
    this whole thing i must get i one template only.....................
    when i tried to search this in sap portal or any other documentations
    i got the concept of combining windows and template in one window......
    they are saying we can make a template with 2 or more windows inside it. which also
    contain one template each inside that windows
    so my 1st row 1st column has exactly same requirement as this only.
    IE using a template with 2 or more windows inside it with templates inside each
    window.
    can u please guide me how to try it out this one .......
    this i tried to depict in pictorial form and send u in my previous reply
    but it displayed in other way sorry for that.

    Give this a go...
    // form1.page1.cb::click - (JavaScript, client)
    if (this.rawValue == 1) {
      xfa.resolveNode("form1.page1.nf.ui.#numericEdit.border.fill.color").value = "255,255,0";
      form1.page1.nf.border.edge.color.value = "0,0,0";
    else {
      xfa.resolveNode("form1.page1.nf.ui.#numericEdit.border.fill.color").value = "255,255,255";
      form1.page1.nf.border.edge.color.value = "255,255,255";
    Don't forget to make your form a dynamic form.
    Steve

  • PowerPC G5 crashing with After Effects CS3

    I have been having "catastrophic" crashes, that is a crash in Mac OSX where the screen goes dark and I have to hold the power key to reset the system when using After Effects CS3 on my PowerPC G5. Also if I am listening to music in iTunes it just goes into a looping drone, (not a nice sound I can tell you).
    I was wondering if anyone else has had similar problems. I have been simply editing text in an AE comp and bang the system hangs. This only seems to happen when I am using After Effects. I have Gridiron Nucleo installed but I don't have it switched on, since it hasn't been playing too well. I also have a Blackmagic card and an internal raid system.
    I am running the latest version of Tiger on the G5 and have all software up to date. I might have to upgrade to Leopard as I just don't trust it anymore. This has happened enough times for me to now be totally on edge when I am using the system with After Effects CS3. I have a Mac Pro and this just works beautifully when running AE CS3
    Any thoughts would be welcome
    all the best
    richard

    Actually it has happened before and I don't think I was editing text. So I am not entirely sure that was the culprit. Put it this way I can run Photoshop, Illustrator, Cinema 4D, even After Effects 7 without these problems. However I have started to steer clear of the machine and use the Intel Mac solely as I don't really have time for crashes if you know what I mean. Also it is slow in comparison which isn't surprising but it really seems like treacle compared to the quad core mac.

Maybe you are looking for

  • Issue w/ new Laptop and Flash in Windows 8/Firefox 23

    Maybe someone can help me with a similar issue.  I am running Windows 8 64 bit, firefox 23.0.1 on a brand new Asus laptop, 3rd gen Intel I7.  I currently have Flas 11.8.x installed and enabled as well as shockwave.  Some pages that seem to use Flash,

  • Where can I get a fixed BookComponentMIFWash.dll?

    Hello fellows, My system: Win 7 64 bit, FM v10 I installed the BookComponentMIFWash.dll as per instructions provided by Adobe, but it cannot be initialized. As I understood from http://forums.adobe.com/thread/852894, there is a bug in the sample DLL

  • ORACLE APPS DBA

    Hi, I do not this is a right place to put my query or not but I am looking for an opening as oracle apps dba. i have 4.7 years of IT experience in J2EE and oracle apps and oracle database(devlopement and administration). if any one have any opening f

  • CD drive makes a lot of noise when I insert a CD

    Whenever I insert a CD into my slot it makes a noise that sounds like its eating my CD -- Not sure if there is always a noise or if i have a problem with my computer.

  • Chase GW letter? tips or suggestions?

    Hey everyone. I just love this forum -- so happy with the help I've gotten here. I've got several irons in the credit repair fire and one of them is a series of late payments on two closed Chase CC accounts. I was in a repayment plan, had set up auto