I think so ... but I havn't had the time of thinking it through. In my opinion I only have to check whether the src starts with "http" or not. If this is true I use my way of reading the src otherwise I will use the SourceResolver.
The second thing is making it Cachable ... Maybe someone could help me! After solving those two problems I'll post the diff at http://nagoya.apache.org Regards, Reinhard > 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > ===== > Davanum Srinivas - http://jguru.com/dims/ > > __________________________________________________ > Do You Yahoo!? > Yahoo! Sports - Coverage of the 2002 Olympic Games > http://sports.yahoo.com > -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]