>have you tried;
> URLConnection.setFollowRedirects(true);
No but I wasn't using HttpURLConnection, just URLConnection. However, it
doesn't seems to work either but my redirections are a bit complex, I'll
need to check this more deeply. The fault is probably on me. Anyway, my
first goal was to make the communication between the 2 servlets to work and
it's now done.
The problem was quite simple, even if it was hard to find because it was a
little bit weird. It was just an exception that was raise in the second
servlet but there was no output of this exception and instead of reporting
this one, I'd a FileNotFound exception from the URLConnection.getInput().
I've fix the exception that was raise in the second servlet (it was
probably preventing the servlet to do output in the stream?) and all seems
to work almost perfectly. There is some technical details to adjust but it
should be easier to solve ;-)
Thanks to all who reply me, regards,
Stephane
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html