On 21.02.2004 01:47, Joel McConaughy wrote:

I am trying to harvest some data from a website that returns an initial redirect. Using the file generator, I get the following error:
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.io.IOException
which I'm guessing is caused by the redirect not being handled within the generator. If I use the url returned from the redirect, it works fine.


My question, is there an easy and/or graceful to handle a redirect using existing components. I haven't dived into building my own generator yet which is the only other way I can think of to solve this. Thanks much.

Did you have a look on the proxy generators in the proxy block? At least the HttpProxyGenerator uses HttpClient lib that allows to follow redirects, don't know how it is implemented in this generator.


Joerg

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



Reply via email to