This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes GWT and the fly likes send data, generate a chart and download it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "send data, generate a chart and download it" Watch "send data, generate a chart and download it" New topic
Author

send data, generate a chart and download it

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 246
hi

i need to send data on the server to generate an excel file on the server and after download it to the client.

i have some structure of object to send to be able to generate the excel file.

i read i need to create a servet to be able to download the file, an anchor need to be added to the client site.

my problem is how to send structured object to the servlet?
maybe there is another way to do it?

thanks
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10172
    
    8

If your POJO is serializable, you can open a stream and read/write the POJO to it. An example can be found here http://www.coderanch.com/t/502491/Streams/java/Calling-servlet-Java-Class-receiving


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
Don't get me started about those stupid light bulbs.
 
subject: send data, generate a chart and download it
 
Similar Threads
import HTML rows to Excel
excel charts
Export to Excel Issue
Building with ant
How to handle randomly generated files?