cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: HTTPHTMLGenerator
Date Tue, 19 Feb 2002 13:11:03 GMT
Reinhard,

Can we replace the existing HTMLGenerator with this one? The objective is that we should enhance
the code with what we learn from our experiences :) 

Can you please check existing samples with this Generator and then post a diff to existing
HTMLGenerator at Bugzilla (http;//nagoya.apache.org). 

Thanks,
dims

--- Reinhard_Pötz <reinhard_poetz@gmx.net> wrote:
> I had the same problem as described in bug #6520
> (http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=101402671004632&w=2). I
> solved this problem using the HTTPClient (commons-httpclient-20011012.jar).
> 
> The use of the HTTPClient makes it possible to use the POST-paramters and
> HEADER-parameters of the client/cocoon-connection.
> 
>   Browser   --->    Cocoon    --->   HTTP-Resource
>            Request       HTTPHTMLGenerator
>                          using HEAD & POST of
>                          the Request
> 
> I called this generator (based on the HTML-Generator) HTTPHTMLGenerator.
> 
> Using this generator solved my problem posted last december (using Cocoon2
> as Proxy):
> - http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=100758023726189&w=2
> - http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=100763795331083&w=2
> 
> The HTTPHTMLConnector makes it very easy to integrate existing web
> applications into cocoon.
> 
> Attached you find the sources (HTTPHTMLGenerator.java) - tested with Cocoon
> 2.0.1/Tomcat4.0.1/Win2K-Prof
> 
> Reinhard Pötz
> 

> ATTACHMENT part 2 application/octet-stream name=HTTPHTMLGenerator.java
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org


=====
Davanum Srinivas - http://jguru.com/dims/

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

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


Mime
View raw message