| Author |
calling a url from a servlet in Websphere 3.2
|
Prasanth Varma
Greenhorn
Joined: Feb 04, 2003
Posts: 3
|
|
I am calling an external url from a servlet, which is running on Websphere, using the URL class. The call is taking much more time than it takes from the browser. Does anybody have any idea as to how to improve the performance?? Thanks in advance.
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12271
|
|
You might start by timing the various parts of the process using System.currentTimeMillis(). How are you treating the InputStream from the connection? If you have to read more than a few bytes, some sort of buffered input is in order. Bill
|
 |
 |
|
|
subject: calling a url from a servlet in Websphere 3.2
|
|
|