You will need to post the code you are using... rest assured, you can read query string parameters on both the development and production servers.

On 25 Sep 2010, at 06:23, hezjing 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 <[email protected]> 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:9997 too!


On Thu, Sep 23, 2010 at 10:04 AM, John Patterson <[email protected] > 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.1:9997 , 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.html

--
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 [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-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 [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-appengine-java?hl=en .

--
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 [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-appengine-java?hl=en.

Reply via email to