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