even the return string is coming as OK 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
So, You say it is not possible to return object to the same client in the
same call where we are calling for file upload? you are saying after file
successful submission, again i need to make another RPC call to get the
object back constructed from file contents, is it? But the problem is i
have se
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
me
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 thi