even the return string is coming as <pre>OK</pre> right? can't i get only 
the "OK" String?

-sri

On Wednesday, 21 November 2012 01:28:03 UTC+5:30, Thad wrote:
>
> File upload is a servlet, not an RPC call. As such all it can return is 
> html/text.
>
> In my applications, I store the File object or whatever object I parsed 
> the file into in a session attribute. The servlet returns "OK" from a 
> successful file upload or a text error message--maybe an Exception 
> message--to my client. The SubmitComplete method reads the string. If it's 
> "OK" I call an RPC method to retrieve the object.
>
> On Tuesday, November 20, 2012 8:40:50 AM UTC-5, sreenivas wrote:
>>
>> Hi Geeks,
>>
>> I am able upload the file to the server and construct the object that is 
>> required from file contents , but I am not getting how to send this object 
>> back to the client which invoked upload function. My service method is 
>> public void service(httpRequest, httpResponse). How can i send this object 
>> back to the client. Can somebody please help?
>>
>> Thanks,
>> Sreenivas
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/ENXZVzVtZ8kJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to