Hi, I never used GWT 1.4. I started from GWT 1.5.3 directly. But I get the same exception. What would be the cause for that? Do you know anything about this?
On Mar 14, 11:05 am, 唐振坤 <tan...@gmail.com> wrote: > In the GWT docs, you need to change the Content-Type from "text/plain" to > "text/x-gwt-rpc", and update your server with GWT 1.5 gwt-servlet.jar. It > may be caused by still using the gwt-servlet.jar of GWT Version 1.4. > > In GWT 1.5, the RPC content type was switched from "text/plain" to > "text/x-gwt-rpc". > > If you receive this exception, then your server is still using a GWT 1.4 > gwt-servlet.jar. > > On Sat, Mar 14, 2009 at 3:00 PM, Ganesh <ganesh....@gmail.com> wrote: > > > Hi, > > I have a small problem when I upgraded to 1.5.3(from 1.0.21) with RPC > > > Exception while dispatching incoming RPC call > > javax.servlet.ServletException: Content-Type must be 'text/plain' with > > 'charset= > > utf-8' (or unspecified charset) > > at > > com.google.gwt.user.server.rpc.RemoteServiceServlet.readPayloadAsUtf8 > > (RemoteServiceServlet.java:507) > > > I googled(http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/ > > FAQ_RPCContentTypeTextPlain ).. and made changes to shell/complile and > > my server-side class path(the impl class). I use Geronimo > > > I am not able to get rid of the above exception... could someone help > > me... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---