B4J Question ServletResponse - resp.SetHeader

derez

Expert
Licensed User
Longtime User
In server handler class there is a method for the ServletResponse "resp.SetHeader(Name,Value)"
Its function is "sets the request header ".
I want to use it to return some parameter to the job's sender, in addition to the resp.OutputStream.
I don't see how to get the parameter from the job in the sending application.
Please explain.
 

derez

Expert
Licensed User
Longtime User
Thank you, it works but not if I use Hebrew text, then I get NULL .I added resp.CharacterEncoding = "UTF8" to the handler but it does not help.
The text arrives at the calling application enclosed in brackets [].
 
Upvote 0
Top