Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro JSP
| Search | Today's Posts | Mark Forums Read
Pro JSP Advanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro JSP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 28th, 2004, 09:40 AM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Jsp out.flush() not working on IBM Websphere AS400

Hi All,
 I have a problem with the following code:
/****************************/
 out.print("testing DELAY ....");
 out.flush();
 for(int i=0; i<100; i++){
    try{
        Thread.sleep(500);
        out.print("["+i+"]");
                out.flush();
    }catch(Exception e){
        out.print("Error :"+e);
     }
      }
/*******************************************/
This code does not display anything untill the loop completes. (i am using IE 6). I tried to print 185 spaces befor the loop, and this worked fine.
 Now the problem is that i have to deploy this code on AS400 machine, and this code is not working over there. can anyone help????

Cheers,

Altaf Malik


Similar Threads
Thread Thread Starter Forum Replies Last Post
IBM AS400 Message Errors to show them in .NET appl julenis SQL Server 2000 2 July 12th, 2006 01:45 PM
IBM AS400 Message Errors to show them in .NET appl julenis C# 0 July 12th, 2006 10:28 AM
Data Adaptor - IBM AS400 JesseH ADO.NET 1 February 21st, 2006 01:19 AM
Working with IBM AS400 texasraven ADO.NET 9 August 20th, 2004 12:05 PM
IBM AS400 + VB - retrieving AS400 file definitions gattsi Pro VB Databases 1 July 23rd, 2004 12:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.