Tuesday, June 19, 2012

Re: how to export a ArrayList in gwt to external file?

Finally I use a textbox to store the search criteria history and set its visibility to false, then submit the form (FormPanel) to server and in servlet, get the textbox value using request.getParameter("XXX");
there is just some minor unknown about the RPC
An RPC expects an RPC serialized response
What does this exactly means? the response generated with ServletOutputStream.flush is not allowed, right?
Thanks for the help!!


On Tuesday, June 19, 2012 11:52:17 AM UTC+8, tong123123 wrote:
Thanks for your reply.
yes, I am using rpc for the previous code.
to post a form, I remember FormPanel. but the example above is just a simplified case. in real, I need to pass a search history Map (time as the key, criteria string as the value) to servlet and use the servlet to export the Map content to a text file, Using FormPanel, how to pass the Map to servlet?
Also, seem this forum cannot edit post, so how to redact the titles of my previous attachment? delete it?

--
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/-/u9BZcaJ5hIIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate