[Xitami-Dev] C++ servlet runner using LRWP. Help

xitami-dev@lists.xitami.org xitami-dev@lists.xitami.org
Tue, 17 Jun 2003 10:51:37 -0400


This is a multipart message in MIME format.
--=_alternative 0051A17885256D48_=
Content-Type: text/plain; charset="us-ascii"

Hi,

I am trying to write a servlet runner using C++, for Xitami, using LRWP. I 
have a few questions:

1) To have cookie support, I use HTTP headers. How do I send HTTP headers 
through an LRWP object? (struct)
2) The LRWP object has only cgi information (as a symbol table), an outbuf 
character buffer (where I can pour all the response from a servlet). I am 
assuming that the "post_data" and "cgi" variables would be filled in by 
the web server when I read from the socket, and I have to fill the outbuf 
with the response I get  (from a  servlet). Is that right? 

Hi Bernd (Hohmann), if you are seeing this mail: I tried to get some 
architectural/design details form your Java servlet runner, but could not 
find technical details. Could you please let me know if you can help me 
with any questions? 

Thanks,
Sameer
--=_alternative 0051A17885256D48_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I am trying to write a servlet runner using C++, for Xitami, using LRWP. I have a few questions:</font>
<br>
<br><font size=2 face="sans-serif">1) To have cookie support, I use HTTP headers. How do I send HTTP headers through an LRWP object? (struct)</font>
<br><font size=2 face="sans-serif">2) The LRWP object has only cgi information (as a symbol table), an outbuf character buffer (where I can pour all the response from a servlet). I am assuming that the &quot;post_data&quot; and &quot;cgi&quot; variables would be filled in by the web server when I read from the socket, and I have to fill the outbuf with the response I get &nbsp;(from a &nbsp;servlet). Is that right? </font>
<br>
<br><font size=2 face="sans-serif">Hi Bernd (Hohmann), if you are seeing this mail: I tried to get some architectural/design details form your Java servlet runner, but could not find technical details. Could you please let me know if you can help me with any questions? </font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif">Sameer</font>
--=_alternative 0051A17885256D48_=--