Re: Nethtml => cgi#output_string
Alain Frisch <[email protected]> Thu, 19 May 2005 07:37:20 +0200
| Newsgroups | gmane.comp.lang.ocaml.lib.net.devel |
|---|---|
| Message-ID | <[email protected]> |
Rakotomandimby (R12y) Mihamina wrote: > But that would be very dumb, I guess... > Someone, on a French speaking Newsgroup adviced me this: >[...] > let cgi = > new std_activation ~operating_type:buffered_transactional_optype () > in > cgi # set_header; > Nethtml.write > (cgi#output#output_string :> Netchannels.out_obj_channel) [page]; > cgi # output # commit_work();; In fact, the suggestion you got was: Nethtml.write (cgi # output :> Netchannels.out_obj_channel) [page] -- Alain ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click