I don't suppose you have the patched version of the lib available, I
would like to avoid downloading the whole gwt project and compiling
again for this.. I tried tweaking the class in the Jar file, but that
seems to end up with a java.lang.Error: Unresolved compilation
problem:
The constructor String(byte[], String) is undefined
when it gets loaded. I assume I am using the wrong java compiler (1.5)
but never having compiled gwt before I am really not sure
Any help much appreciated!
Thanks
Simon
On Jun 29, 7:11 pm, Roland <[email protected]> wrote:
> 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 <[email protected]> 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 <[email protected]> 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 [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.