Ned Racine schrieb: > I also want to graph the > results, and my original intention was to just save a .png of the > graph in the public folder, but this is where I get hung up. I cannot > get a reference to the public folder path, which I need for the client > to see the file.
Another way would be to call a servlet that is returning the picture with fitting content-type. The servlet can be placed at the same place where you RPC-servlet resides (adding it to the web.xml and the GWT.xml-file for hosted mode). You can also implement it in the RPC-servlet by implementing doGet (the RPC-mechanism works with POST) reducing the number of servlets needed for your application. > I have done the exact same thing using Apache Struts > before, but now that I'm using GWT I can't figure this out. Ideally I > could find a solution where this would work in both web and hosted > mode, but web mode would be the more important of the two obviously. The technique I described works in both modes and I use it here for the download of SQL-results as CSV-files and other stuff. Regards, Lothar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
