Hi Philippe, Thank you very much, your comment in the gwt-platform's issue are very useful:
As what you have described, we have to rename the GWT hosted page .html to a .jsp in order for the filters to work properly! So instead of http://127.0.0.1:8888/Hello.html?A=B&gwt.codesvr=127.0.0.1:9997, we should really use http://127.0.0.1:8888/Hello.jsp?A=B&gwt.codesvr=127.0.0.1:9997 BTW, how did you find out this solution? Is this documented some where?? On Sat, Sep 25, 2010 at 2:03 PM, PhilBeaudoin <philippe.beaud...@gmail.com>wrote: > I've been working on this problem for a long time within the gwt- > platform project: > http://code.google.com/p/gwt-platform/issues/detail?id=1 > > I've gotten very far (i.e. I can make it work in development mode) but > I ran into a very annoying issue with the urlfetch API of AppEngine: > http://code.google.com/p/googleappengine/issues/detail?id=3602 > > I don't know if this relates to your problem, but you may want to read > the forum thread mentioned in the above issue for more details. > > Cheers, > > Philippe > > On Sep 24, 4:23 pm, hezjing <hezj...@gmail.com> wrote: > > I'm still not able to retrieve the query string from my servlet filter. > > > > For example after application is deployed to Google App Engine, and then > > browse X.appspot.com/X.html?a=b. The query string is null. > > > > Can you help me on this, please? > > > > > > > > > > > > On Thu, Sep 23, 2010 at 1:21 PM, hezjing <hezj...@gmail.com> wrote: > > > Probably that was a bad query string, but the servlet filter is not > able to > > > retrieve the query string from > > >http://127.0.0.1:8888/Hello.html?A=B&gwt.codesvr=127.0.0.1:9997too! > > > <http://127.0.0.1:8888/Hello.html?A=B&gwt.codesvr=127.0.0.1:9997> > > > > > On Thu, Sep 23, 2010 at 10:04 AM, John Patterson < > jdpatter...@gmail.com>wrote: > > > > >> On 23 Sep 2010, at 07:47, hezjing wrote: > > > > >> When run in the GWT development mode, e.g. > > >> > http://127.0.0.1:8888/X.html?_escaped_fragment_=&gwt.codesvr=127.0.0...., > the > > >> application without App Engine is able to retrieve the query string as > > >> "_escaped_fragment_=&gwt.codesvr=127.0.0.1:9997". > > > > >> The problem is, the application with App Engine is always getting the > null > > >> query string! > > > > >> You need to encode the query string - the & character is not allowed > in a > > >> value. > > > > >>http://download.oracle.com/javase/1.4.2/docs/api/java/net/URLEncoder.. > .. > > > > >> -- > > >> You received this message because you are subscribed to the Google > Groups > > >> "Google App Engine for Java" group. > > >> To post to this group, send email to > > >> google-appengine-j...@googlegroups.com. > > >> To unsubscribe from this group, send email to > > >> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com><google-appengine-java%2B > unsubscr...@googlegroups.com> > > >> . > > >> For more options, visit this group at > > >>http://groups.google.com/group/google-appengine-java?hl=en. > > > > > -- > > > > > Hez > > > > -- > > > > Hez > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- Hez -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.