[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


Progress bar problem!!!! Plz help!!!

Posted on 2002-07-14
Medium Priority
Last Modified: 2010-03-31
Hi All,
I have a servlet that reads cookies(added by another previous servlets), adds cookies, reads from Database tables and outputs data as html page.
The output comes as expected, but the problem is with the progress bar of the browser, it indicates that the page to be loaded is not loaded yet, although it is already completly loaded!!!!
Note: i use Internet Explorer browser version 6.0
I realy need to know what is the reason for this and how it will be solved...
Any comment will be very helpful...
Thanx in advance...
Question by:samjav
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

Expert Comment

ID: 7152222
Are you sure that your doGet() or doPost() method actually returns? The connection is actually closed at that time and the only reason I can see - a priori - for the progress bar to react like this is that the connection to the server is actually still opened...

Author Comment

ID: 7152261
I use the service method...
and i close the PrintWriter instance (that is used for printing the html page tags) using the close method,close it after drawing the html page tags...
I don't know if this is what you meant!!!!

Expert Comment

ID: 7152277
Yes, this is what I wanted to verify. If the code is short enough or if you can reproduce the problem in a short similar example, it would be worth posting.

If you can't reproduce the problem with a short similar example, we at least know that the problem is more likely with the code, not with the servlet environment.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 7152364
Thank you fontaine very much...
The code is not short & i cann't reproduce the problem in a short similar example since i don't know what exactly the problem is,,,but as you said the problem is seems to be more likely with code...
So, i will check my code again...
Thank you again for you help....

Accepted Solution

fontaine earned 150 total points
ID: 7152389
What I would do is be sure that the PrintWriter.close() is indeed invoked. Maybe is the servlet stuck "just before" that line is executed... For example, I can think about a loop that doesn't end correctly, or other...

Author Comment

ID: 7153528
Thank you fontaine for your help....
I will check the code again....


Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This video teaches viewers about errors in exception handling.
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question