View Single Post
Old Feb 11th, 2008, 6:36 AM   #2
pushkarajthorat
Java Developer
 
pushkarajthorat's Avatar
 
Join Date: Jun 2006
Location: Solapur, India.
Posts: 22
Rep Power: 0 pushkarajthorat is an unknown quantity at this point
Send a message via Yahoo to pushkarajthorat
Re: Incorporating javascript code into java application

This is a big Bownser to me! why do you want to use the JAVA code here to check the response speed of a website!

I have couple of !deas you may use...
1. Are you fine with using the javascript code where there are two frames... one where your javascript code is running and other where the target page loads... there might be some API with which you can check when the page loads and then compute difference between times.

2. Use xmlhttp object which has API to register a javascript function which is be called when the response is received...
__________________
[Pushkaraj]


Imagination is more important than knowledge – Albert Einstein
pushkarajthorat is offline   Reply With Quote