ytbryan schrieb:
> thanks for the reply. but how do i prompt the user through save as
> dialog box from the client side?

This happens automatically with setting the Content-Disposition-
header which you already do. It's a functionality of the client
that you can't control directly from the server-side (or via
GWT).

> lothar, it is String. sorry i missed that out..  i write it as a csv
> file

Can you quote correctly in the future, because right now, I don't
know what you mean by that. If you mean that "filename" is a String,
I know that, because I know what constructors there are coming with
FileWriter. The question is why you write into a file locally if
you want to deliver data to a client whose PrintWriter you already
have in your hand and that you can use for writing your CSV-data
directly. The other question was what _value_ filename has, to check
if that might lead to problems when running with reduced rights
inside the servlet-container.

As well I asked you to have a look into the logs of the server to
see if there is an error-message that point to the reason for
the error-message on the client.


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
-~----------~----~----~----~------~----~------~--~---

Reply via email to