cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <p...@betaversion.org>
Subject Re: WSProxyGenerator
Date Tue, 11 Feb 2003 10:19:18 GMT
On 11/2/03 8:56, "Sylvain Wallez" <sylvain.wallez@anyware-tech.com> wrote:
> Tony Collen wrote:
>> On Mon, 10 Feb 2003, Nathaniel Alfred wrote:
>> 
>>> Why not use plain old FileGenerator?  At least with 2.1's URLSource
>>> 
>>>   <map:generate type="file" src="http://backend/article?id=xyz"/>
>>> 
>>> works like a charm.  Am I missing something?
>> 
>> The WSP also passes any POST or GET parameters to the remote host, which
>> is something the FileGenerator does not do. Would it just make sense to
>> put this feature into the FileGenerator as a <map:parameter/> ?
> 
> -1 : FileGenerator is one of the most used generators (if not most
> used), and can be used with any kind of source. POSTing parameters is
> very specific to remote resources accessed through HTTP and should be
> kept in a separate class (not to mention the dependency on
> commons-httpclient which should be avoided in the core).

I totally agree with Sylvain over here...

    Pier


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message