Hello,

there is a delay of more than 2 seconds at
> 2007/12/02 16:46:19:203 IST [DEBUG] content - << "  var adsrc = 'reuters.co"
> 2007/12/02 16:46:21:828 IST [DEBUG] content - << "m.dart/bus...

then again at
> 2007/12/02 16:46:21:828 IST [DEBUG] content - << "           "
> 2007/12/02 16:46:24:140 IST [DEBUG] content - << "     </div>[\r][\n]"

and
> 2007/12/02 16:46:24:140 IST [DEBUG] content - << "       
> org.apache.jsp.WEB_002dINF.jsp.templates.page"
> 2007/12/02 16:46:26:156 IST [DEBUG] content - <<
> "Templates.homePage_jsp.

The parts before and after these delays have identical
timestamps, so it seems that there might be a 2 second
round-trip time for requesting a new data block. High-
latency network connection?

The jsp service thing indicates that the page you are
requesting is generated from a JSP. There is no way to
switch that off, but you will have to find a way to
make it work. The returned exception is obviously not
what you want.
One explanation for the excessive response times is
that the exceptions and their huge stack traces blow
up the page size. If every data block requires 2 seconds
for receiving, and the page size is multiplied, then
you will see a multiplied response time.

Now, let's analyse the real problem:
> 2007/12/02 16:46:24:140 IST [DEBUG] content - << "    <!-- Exception
> occurred: javax.servlet.jsp.JspException: Unable to find a value for
> "netChanged" in object of class "com.reuters.rcom.beans.CmsSymbolQuote"
> using operator "."-->[\n]"

The server fails to find something in one of it's objects.
And the stack trace indicates that the server uses Struts,
which stores dialog state in the servlet session. Could it
be that the session is not established correctly? Yes, a
browser does download the site on first access. But it will
also download dozens of pictures and execute JavaScript and
I don't know what else. It actually tries to auto-submit an
HTML form that is embedded somewhere.
What happens if you access the page from curl or wwwget?
Do you get the content you want, or the same error as when
using HttpClient? It's been mentioned before: you will have
to use some network sniffer tool like Wireshark to capture
a request that returns the content you want. Then we can
compare that request with the one HttpClient sends.

cheers,
  Roland



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to