Thursday, July 25, 2013

Re: how to send huge list of data to the server side from client interface in GWT

hey,

In My application I ave a front interface where the users select values and click the download button . So what ever values user is going to select will be passed to the sql query and will hit the oracle database and obtained values will be written to csv file. So, the end user should get csv file on clicking the download button. Earlier I have built this application by passing the front interface values as a query strin through window.location , But by this method we oftenly get socket connection error when the list is huge. To avoid this I have to pass the values as object to the server side and write to csv file. Do you know any way we can achieve this. if possible can u share any sample code

On Thursday, July 25, 2013 2:14:55 PM UTC-5, Jens wrote:
Sure, just you void as return type of your RPC method and AsyncCallback<Void> as callback. The server will then only send back a tiny amount of data telling the client that the request was successful.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment