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:9997 too!
>  <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.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
>> 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
>



-- 

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.

Reply via email to