Hi,
Try this: If you are sending a simple text as "sucess" or
"error" after doing some process in the servlet..
set your content type to "text/plain" and simply
println(<data to be sent>);
In the flex application, get the result text that the servlet
send using:
resultString = String(httpUrl.lastResult);
where httpUrl is the id of the HTTPService. Now you can
compare what the servlet send by:
if(resultString=="sucess") {
......
}
Hope this solves your problem :)
Regards,
-- Abdel Olakara
http://olakara.googlepages.comhttp://technopaper.blogspot.com