|
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
|