If I have a server with this connection:
and i would like in hanlde (for example Conn_1) redirect the resp.OutputStream
to Conn_Ui (and viceversa) i must use resp.SendRedirect?
If it's yes, in what way?
I used resp.SendRedirect("connUi") and after SendObject(map, resp.OutputStream) and raise event in handle of Conn_Ui but not
always and the object received is empty.
Thanks
Example:
<device> to conn1 to connUi to B4jUi and B4j to connUi to conn1 to <device>
B4X:
srv.AddHandler("/conn1", "Conn_1", False)
srv.AddHandler("/conn2", "Conn_2", False)
srv.AddHandler("/conn3", "Conn_3", False)
srv.AddHandler("/connUi", "Conn_Ui", False)
to Conn_Ui (and viceversa) i must use resp.SendRedirect?
If it's yes, in what way?
I used resp.SendRedirect("connUi") and after SendObject(map, resp.OutputStream) and raise event in handle of Conn_Ui but not
always and the object received is empty.
Thanks
Example:
<device> to conn1 to connUi to B4jUi and B4j to connUi to conn1 to <device>
Attachments
Last edited: