Wednesday, June 6, 2012

How to send hashmap with a file using Servlet in GWT

I want to know or some code sample which will help me to send the file
and the hashmap to the server.

To upload a file to GWt server i use formpanel and a HttpServlet. this
is working fine.

i have a hashmap

private static Map<String, List<Customproperties>> docClass =
new HashMap<String, List<Customproperties>>();


which holds the property of document according to its classname.

I know how to do with RPC to send hashMap. but i want to do with
servlet.As i have to upload a file which i have done with servlet. And
every Hashmap is related to file .and this file with its property(in
HashMap) will send to external repository.

Please help.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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.

No comments:

Post a Comment