what exactly r u trying to do ? Dont really understand the question 2011/7/6 Thomas Holmes <[email protected]>
> I know this question has been asked before, and have researched this > group and done a more wide Google search on this question. > > I have a working GWT Application which works great. From the client > I can call a GWT-RPC service to get data which I can bring back to the > UI, and all that works great. Now what I want to do is take that > data, that complex object that is returned, do some data-massage, and > write out the data to a CSV file > > From what I have researched so far is that I can create a normal > Servlet with the doGet or doPost which will write out data to my CSV > file. Meaning I get the browser to open it's "Save File As" dialog > to save the file with my string text. > > So, the question I pose is this: > > 1) Should I return the data to my client, and then from the client > post that string data to my working servlet? > Since this function is returning an array-list of data, and there's a > lot of data massaging to do, I'd be doing it on the client-side ... or > I guess I could do the data-massaging on the GWT-RPC side and return a > String, or different ArrayList. So ... how would I push a string or > list of data to my Servlet to output the file. > > Or > > 2) Within the GWT-RPC call, after I get the data I want, then I could > massage the data to a list or string. > From within the GWT-RPC Servlet, I could post to my servlet the list > or string. > Or within the GWT-RPC, can I output the data here like I did in my > other servlet? > > If you need any more information, or any other clarification, please > let me know. > > Thanks! > Tom > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > 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. > > -- GWT API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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.
