Hi,
I have looked through as many threads as I can bear, and I still can't find a distinct answer to my question.
Can a servlet return a parameter, say a string variable? I have figured out they can return a file, but returning a string is what I am after. If they can return a variable, how do you get it to happen???
In case this matters, my servlet is called by javascript. The servlet creates an XML string, and it is this string that I wish to return to the javascript client.
Any insights are greatly appreciated. Thank - you.
I have looked through as many threads as I can bear, and I still can't find a distinct answer to my question.
Can a servlet return a parameter, say a string variable? I have figured out they can return a file, but returning a string is what I am after. If they can return a variable, how do you get it to happen???
In case this matters, my servlet is called by javascript. The servlet creates an XML string, and it is this string that I wish to return to the javascript client.
Any insights are greatly appreciated. Thank - you.