Re: HTTP query string when tested in development mode

2010-09-27 Thread volkan özdemir
2010/9/26, hezjing :
> Thanks to Philippe,
>
> The solution is simply rename the hosted page *.html to *.jsp
>
> See
> https://groups.google.com/group/google-appengine-java/browse_thread/thread/46240ee12dc856be
> <https://groups.google.com/group/google-appengine-java/browse_thread/thread/46240ee12dc856be>
>
> On Tue, Sep 21, 2010 at 2:07 PM, hezjing  wrote:
>
>> Hi
>>
>> Apparently it seems that it is the Google App Engine that is causing this
>> problem.
>>
>> The servlet filter is able to obtain the query string when I tested in
>> GWT
>> application without the App Engine settings. I'm also new to App Engine,
>> do
>> you know why the servlet filter is not working with App Engine?
>>
>>
>>
>> On Sun, Sep 19, 2010 at 4:30 PM, hezjing  wrote:
>>
>>> Hi rjcarr
>>>
>>> The query string is still null after I set to
>>> ...Dummy.html?debug=2¶m=2&gwt.codesvr=127.0.0.1:9997<http://127.0.0.1:/Property123.html?gwt.codesvr=127.0.0.1:9997>
>>> .
>>>
>>> The same problem occurs with the default development mode URL like
>>> http://127.0.0.1:/Dummy.html?gwt.codesvr=127.0.0.1:9997,
>>> I'm just thinking could this because of the browser plugin that causes
>>> this problem?
>>>
>>>
>>>
>>> On Sun, Sep 19, 2010 at 10:10 AM, rjcarr  wrote:
>>>
>>>> From what you've posted it doesn't look like a valid URL.  A query
>>>> string, as far as I know, is a series of key=value pairs separated by
>>>> &.  You posted this:
>>>>
>>>> http://127.0.0.1:/Dummy.html?debug¶m2&gwt.codesvr=127.0.0.1:9997
>>>>
>>>> Which doesn't look correctly formed.  Try this:
>>>>
>>>>
>>>> http://127.0.0.1:/Dummy.html?debug=2¶m=2&gwt.codesvr=127.0.0.1:9997
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups
>>>> "Google Web Toolkit" group.
>>>> To post to this group, send email to
>>>> google-web-toolkit@googlegroups.com
>>>> .
>>>> To unsubscribe from this group, send email to
>>>> google-web-toolkit+unsubscr...@googlegroups.com
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Hez
>>>
>>
>>
>>
>> --
>>
>> Hez
>>
>
>
>
> --
>
> Hez
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 
www.webvolkan.blogspot.com
volkan özdemirintelefon numarası
05319953770

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: HTTP query string when tested in development mode

2010-09-26 Thread hezjing
Thanks to Philippe,

The solution is simply rename the hosted page *.html to *.jsp

See
https://groups.google.com/group/google-appengine-java/browse_thread/thread/46240ee12dc856be
<https://groups.google.com/group/google-appengine-java/browse_thread/thread/46240ee12dc856be>

On Tue, Sep 21, 2010 at 2:07 PM, hezjing  wrote:

> Hi
>
> Apparently it seems that it is the Google App Engine that is causing this
> problem.
>
> The servlet filter is able to obtain the query string when I tested in GWT
> application without the App Engine settings. I'm also new to App Engine, do
> you know why the servlet filter is not working with App Engine?
>
>
>
> On Sun, Sep 19, 2010 at 4:30 PM, hezjing  wrote:
>
>> Hi rjcarr
>>
>> The query string is still null after I set to
>> ...Dummy.html?debug=2¶m=2&gwt.codesvr=127.0.0.1:9997<http://127.0.0.1:/Property123.html?gwt.codesvr=127.0.0.1:9997>
>> .
>>
>> The same problem occurs with the default development mode URL like
>> http://127.0.0.1:/Dummy.html?gwt.codesvr=127.0.0.1:9997,
>> I'm just thinking could this because of the browser plugin that causes
>> this problem?
>>
>>
>>
>> On Sun, Sep 19, 2010 at 10:10 AM, rjcarr  wrote:
>>
>>> From what you've posted it doesn't look like a valid URL.  A query
>>> string, as far as I know, is a series of key=value pairs separated by
>>> &.  You posted this:
>>>
>>> http://127.0.0.1:/Dummy.html?debug¶m2&gwt.codesvr=127.0.0.1:9997
>>>
>>> Which doesn't look correctly formed.  Try this:
>>>
>>>
>>> http://127.0.0.1:/Dummy.html?debug=2¶m=2&gwt.codesvr=127.0.0.1:9997
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>>
>>
>>
>> --
>>
>> Hez
>>
>
>
>
> --
>
> Hez
>



-- 

Hez

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: HTTP query string when tested in development mode

2010-09-20 Thread hezjing
Hi

Apparently it seems that it is the Google App Engine that is causing this
problem.

The servlet filter is able to obtain the query string when I tested in GWT
application without the App Engine settings. I'm also new to App Engine, do
you know why the servlet filter is not working with App Engine?



On Sun, Sep 19, 2010 at 4:30 PM, hezjing  wrote:

> Hi rjcarr
>
> The query string is still null after I set to
> ...Dummy.html?debug=2¶m=2&gwt.codesvr=127.0.0.1:9997<http://127.0.0.1:/Property123.html?gwt.codesvr=127.0.0.1:9997>
> .
>
> The same problem occurs with the default development mode URL like
> http://127.0.0.1:/Dummy.html?gwt.codesvr=127.0.0.1:9997,
> I'm just thinking could this because of the browser plugin that causes this
> problem?
>
>
>
> On Sun, Sep 19, 2010 at 10:10 AM, rjcarr  wrote:
>
>> From what you've posted it doesn't look like a valid URL.  A query
>> string, as far as I know, is a series of key=value pairs separated by
>> &.  You posted this:
>>
>> http://127.0.0.1:/Dummy.html?debug¶m2&gwt.codesvr=127.0.0.1:9997
>>
>> Which doesn't look correctly formed.  Try this:
>>
>>
>> http://127.0.0.1:/Dummy.html?debug=2¶m=2&gwt.codesvr=127.0.0.1:9997
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>
>
> --
>
> Hez
>



-- 

Hez

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: HTTP query string when tested in development mode

2010-09-19 Thread hezjing
Hi rjcarr

The query string is still null after I set to ...Dummy.html?debug=2¶m=2&
gwt.codesvr=127.0.0.1:9997<http://127.0.0.1:/Property123.html?gwt.codesvr=127.0.0.1:9997>
.

The same problem occurs with the default development mode URL like
http://127.0.0.1:/Dummy.html?gwt.codesvr=127.0.0.1:9997,
I'm just thinking could this because of the browser plugin that causes this
problem?



On Sun, Sep 19, 2010 at 10:10 AM, rjcarr  wrote:

> From what you've posted it doesn't look like a valid URL.  A query
> string, as far as I know, is a series of key=value pairs separated by
> &.  You posted this:
>
> http://127.0.0.1:/Dummy.html?debug¶m2&gwt.codesvr=127.0.0.1:9997
>
> Which doesn't look correctly formed.  Try this:
>
> http://127.0.0.1:/Dummy.html?debug=2¶m=2&gwt.codesvr=127.0.0.1:9997
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 

Hez

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: HTTP query string when tested in development mode

2010-09-18 Thread rjcarr
>From what you've posted it doesn't look like a valid URL.  A query
string, as far as I know, is a series of key=value pairs separated by
&.  You posted this:

http://127.0.0.1:/Dummy.html?debug¶m2&gwt.codesvr=127.0.0.1:9997

Which doesn't look correctly formed.  Try this:

http://127.0.0.1:/Dummy.html?debug=2¶m=2&gwt.codesvr=127.0.0.1:9997

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



HTTP query string when tested in development mode

2010-09-18 Thread hezjing
Hi

I have the following servlet filter and mapped to the URL pattern /*

public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException {
HttpServletRequest req = (HttpServletRequest) request;
// query is null?
String query = req.getQueryString();
}

When I started the GWT application in development mode:
http://127.0.0.1:/Dummy.html?debug¶m2&gwt.codesvr=127.0.0.1:9997<http://127.0.0.1:/Dummy.html?debug&gwt.codesvr=127.0.0.1:9997>,
the
query string is always empty (null).

Do you know why?


-- 

Hez

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: query string

2009-08-31 Thread Thomas Broyer



On 31 août, 09:23, Juergen Saar  wrote:
> Hi,
>
> how can I get the Query-Arguments from my URL on EntryPoint?

Window.Location.getQueryString()
http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/Window.Location.html#getQueryString()

Have a look at the Window.Location.getParameter() and
Window.Location.getParameterMap() too if you use "application/x-www-
form-urlencoded"-like query strings (i.e. key1=value1&key2=value2)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



query string

2009-08-31 Thread Juergen Saar
Hi,

how can I get the Query-Arguments from my URL on EntryPoint?

Thanx
-jsaar-

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



using OOPHM with a query string

2008-09-29 Thread Thad

I'm running GWT OOPHM on Linux with Eclipse and Firefox.  In my
application's HTML file, have a Javascript object declared:


var myObject = {
param0: null,
param1: null,
        param2: null
};


In the HTML file's  tag, I call a Javascript function to read
and parse window.location.href, assigning the results to myObject,
which I later retrieve within my my widget via JNSI.

This all works fine if I compile my application, build a WAR file, and
run it under Tomcat.  However, it will not work in hosted mode.  I can
launch my application, and modify the query string:

http://...QSTest.html?gwt.hosted=127.0.0.2:9997¶m0=foo¶m1=bar

However my JNSI code sees $wnd.myObject.param0, etc as null.

So, (1) How do I use a query string in OOPM? and (2) How can I set the
query string in Eclipse 3.4?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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
-~--~~~~--~~--~--~---