>
> public class MyServiceImpl extends RemoteServiceServlet implements
> MyService

The above line is wrong. It should NOT extend RemoteServiceServlet.
Just extend the regular HttpServlet and it should work.

--Sri



On 3 June 2010 00:59, J-Pro <[email protected]> wrote:

> Hello, dear GWT gurus!
>
> I'm trying to send a String to the client as a file after user presses
> a button. After searching I've found and doing it this way:
> http://codepad.org/kbZ8Cp2V
>
> But when I run it in GWT DEV mode, I'm getting this exception:
> "java.lang.RuntimeException: Unable to report failure" (details see
> here: http://codepad.org/TIGk861g)
> And also, below it there is another one:
> "com.google.gwt.user.client.rpc.InvocationException: File contents
> " (details see here: http://codepad.org/JGIXaPCg)
>
> I'm using smartwgt 2.2, GWT SDK 2.0.3 with Eclipse 3.5 SR1 and jdk
> 1.6.0 u18 from Windows 7 Enterprise x64 and Mozilla Firefox 3.5.9 as
> browser.
>
> Please, advise me something, maybe I'm just doing something wrong... I
> work with file download in GWT for the first time.
>
> Thank you in advance.
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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