Bineet Singh Uppal

Greenhorn
+ Follow
since Sep 26, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bineet Singh Uppal

Thank You Dittmer for your interest in the problem.
I think the Thread.sleep() is not behaving properly. Once the thread is invoked, it sends and receives response for all the 8 requests in one go.
I am putting in more time based loging to exactly catch the piece of code that is taking time. I shall update about the same tommorow when I get back to work.
Regards,
Bineet.
14 years ago
Hi,

I have a Web Application which runs in two HTML frames viz. Left.html and Right.html . Left frame contains an applet (HeartbeatApplet) that sends requests to a servlet. It's job is to validate session every 1500 miliseconds.

Right frame contains an applet (ViewerApplet) that displays the current statistics of the server. It sends 8 different requests to servlet continuously ( in a while(true) )and updates UI according to the data received. User can select this refresh rate from a combo box on the applet.

The applet goes to sleep ( Thread.sleep() ) for 'refresh rate' seconds and on waking up sends new requests to servlet.

Everything works fine in our development and testing environment, but is failing on client (customer) site.
Now the problem is that this Viewer Applet takes around 30-40 seconds to send the request, even when 'refresh rate'is set 1 second. The Heartbeat applet send request regularly after 1.5 secs without delay.

The behaviuor is strange and Hope we can solve it together.
Regards,
Bineet
14 years ago
You can do it by embedding the control of mspaint but for that u need to program in asp. for java you have to suffice with an applet.
14 years ago
JSP
Dear Santosh,
I copied ur code, made two files and to my surprise the file was uploaded sucessfully. I uploaded mp3 of 8mb and some other files..even binary exe was uploaded. May be some configuration mismatch is there...
14 years ago
JSP
There can be two possibilities :
1.) Ur JRE was installed as plugin with IE. In this case u need to install it from firefox plugins.
2.) Firefox is not recognised as Mozilla. Therefore when you enable it for Mozilla from the JRE console in the control panel, it fails to find any Mozilla on the machine.
Hope u got the point!!