This is an easy error to get when you aren’t paying attention. What happened is you included com.google.gwt.http.client.URL on the server-side to try and decode an encoded URL. What you want to use is java.net.URLDecoder. Also related, the string is by default encoded UTF-8, so decode like this: String s = URLDecoder.decode(string, “UTF-8”);
Maybe someone else will find this instead of having to search for it.
No. At least not at the time of this post. I think there are a few projects around on Sourceforge or Google Code. I’d suggest using DateTimeFormat in the com.google.gwt.i18n.client package.
It took me a little Googling to figure this out, so maybe this post will help someone in the future.
Yesterday Google Web Toolkit (GWT) 2 was released. We’re going to be using GWT for the next version of our internal software where I work. I’m excited to use it.