Monday, June 11, 2001 08:58 AM
If you use the URLConnection object and it's subclass for http (HttpURLConnection) you have a method for reading the headers values.
So, if the "errors" are in some way stored in the header, it's fairly easy to read them.
The fact is that rarely I've seen form errors inserted into the header. Normally they are displayed in the page that is shown, and unless you can find some common pattern, I think that it's tough. If you have access to the servlet (or program) that generates the form after an error, you can have some codes inserted into the headers... maybe this can help.
Monday, June 11, 2001 08:30 AM
I remember that a few months ago I had the same problem.
I found that there are some software tools that work like a proxy server, so in my web navigator settings I set as a proxy the application that runs on a specific port, then after a specific post/get request
"it captures all HTTP requests/responses and, through a simple browser interface, can display all these HTTP messages including headers, the responses' content, statistics" (I quote from the their website).
The tool that I was using is called webdebug,
is written in Python under a GNU license.
The web site is