Joerg Heinicke wrote:

> Oh no, I missed "results of a POST request". I combined POST and HTML
and XML and thought file upload. Sorry for that.

As the HTML generator uses the httpclient package I think it could be modified to do this, but I don't know for sure.


HTMLGenerator? Why it should use httpclient? The proxy generators, yes.

The WSProxy and the HttpProxy both use commons-httpclient, but I believe that "down below", the HTMLGenerator seems to use a Source. I'm not sure how this is handled under the hood of source though, it could just be java.net.URL, or something.

We have an example accessing remote server with HTMLGenerator in the Cocoon samples (the page switched from Yahoo News to Google SciFi not so long ago).


<map:generate type="html" src="http://www.remoteserver.com"/>

But this will not result in a POST AFAIK, but a GET request, while the proxy generators only handle POST.

This is wrong -- they can use either GET or POST, configured via parameter.


Regards,

Tony


Joerg



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



Reply via email to