It sounds like your webserver, or whatever is generating & processing
the session cookie, is in error. From my reads of RFC2109 & RFC2068,
quotes are reserved characters, they are not allowed in the cookie value.
They say the cookie value can be either
token | quoted-string
You can handle the redirect handling yourself with the
HttpClientParams.setRedirecting(). Set redirecting to false.
You will then start to see 301 & 302 status codes in
response.getStatusLine().getStatusCode().
When you do, process the headers to look for the Location: header and
restart you
I am unclear on whether Lior wants to parse XML or HTML. Dom4j would
work well for XML. I've used TagSoup for HTML
(http://home.ccil.org/~cowan/XML/tagsoup/).
--joe
Raymond Kroeker wrote:
Lior,
I've had excellent results using dom4j. Just load the xml into an
object and you can query the
There are multiple redirects from the page you are beginning with.
Setting setFollowRedirects(false) means you will have to follow them all
yourself. If you use wget you can see all the redirects:
% wget -O /dev/null --no-check-certificate
'http://www.opensolaris.org/jive/login!withRedirect.js