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 862615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:10:18+00:00 2026-05-15T09:10:18+00:00

I have an Applet that makes a request to a Servlet. On the servlet

  • 0

I have an Applet that makes a request to a Servlet. On the servlet it’s using the PrintWriter to write the response back to Applet:

out.println("Field1|Field2|Field3|Field4|Field5......|Field10");

There are about 15000 records, so the out.println() gets executed about 15000 times.

Problem is that when the Applet gets the response from Servlet it takes about 15 minutes to process the records.
I placed System.out.println’s and processing is paused at around 5000, then after 15 minutes it continues processing and then its done.

Has anyone faced a similar problem? The servlet takes about 2 seconds to execute. So seems that the browser/Applet is too slow to process the records.

This is the Applet code. Sometimes it just stops on the first System.out and sometimes stops on the second System.out.

while ((line = in.readLine()) != null) {
    System.out.println("Reading from stream....");
    datavector.add(line);
    System.out.println("Vector size="+datavector.size()+"  Line added="+line);
}

Any ideas appreciated.

Thanks.

  • 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-15T09:10:19+00:00Added an answer on May 15, 2026 at 9:10 am

    Is you question related to “processing being paused around 5000 records and then starts on its own after 15” ? OR it is processing being slow on your applet

    It will be helpful if you code post some code snippet?

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

Sidebar

Related Questions

I have to write an applet that brings up a password dialog. The problem
I have a Java Applet that uses AWT. In some (rare) circumstances, the platform
I have an third-party applet that requires JRE v1.5_12 to work correctly. THe user
I have a small (500kb) swing applet that displays very simple/limited set of small
We have an ages old Java applet that we want to move forward to
I have a paint application that runs as a Java applet. I need to
We have a Java Applet built using AWT. This applet lets you select pictures
I have data that looks like this: entities id name 1 Apple 2 Orange
Let's suppose I have an applet running within a page in a browser. What
I have read the Apple documentation. They list the apps registered, yet in their

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.