Tuesday, June 29, 2010

Re: RPC call does not work after upgrading to Safari 5

For GWT 1.4:
gwt-user.jar,
com.google.gwt.user.server.rpc.RemoteServiceServlet.java:

private static String readPayloadAsUtf8(HttpServletRequest request)
throws IOException, ServletException {
...................
String contentType = request.getContentType();
boolean contentTypeIsOkay = false;
// Content-Type must be specified.
>>> putch line: if (contentType != null) {
contentType = contentType.toLowerCase();
...................
On 24 июн, 00:02, TBirch <tjfbi...@bellsouth.net> wrote:
> After further research on the web and directing me to review my
> server's logs I believe my problem may be due to my app still being
> run as a gwt 1.4. If so, are there any options other than upgrading
> the app to a newer gwt version?
> Below is from my Tomcat server log:
> SEVERE: 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(Remot­eServiceServlet.java:
> 119)
>         at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceSer­vlet.java:
> 178) ...
>
> Thanks
>
> On Jun 22, 3:39 pm, TBirch <tjfbi...@bellsouth.net> wrote:
>
>
>
> > I have a get app that has been working fine with Safari 4 for some
> > time. It appears that my initial RPC call no longer works after
> > upgrading today to Safari 5. The app works fine in Chrome, IE, and
> > Firefox. I un-installed Safari 5 and re-installed version 4 and the
> > app no longer works in that version either. Any suggestions as to why
> > the app will not work in the Safari browser?
> > Thank You

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment