Hi all...

I'm using FileUpload to upload a file to a servlet.

The problem is, there can be a lot of different problems on the server
side (IOExceptions, format errors, etc.), and I want to get those back
to my GWT app.

Problem is, it seems the FileUpload only reports back (via its Event
mechanism) that text of a "page" that is returned in the response.  I
can't seem to get an error message, Exception object, status code, or
anything like that; just a page of HTML, text, etc.

Does anyone know if there is any way to report back status, other than
return back some known text/XML in the response?  Throwing an
Exception on the server just returns the text of the stacktrace in the
response.

- Tim

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