I have to created a dynamic URLcontaining the user id and email parameters, which will direct to sign up form in my GWT application. I want to set and get the parameters in the query string. I have referred tp http://code.google.com/p/gwt-examples/source/browse/trunk/System/src/com/gawkat/gwt/system/client/global/QueryString.java?r=1241 but here QueryStringData is inaccessible to my project.Please tell me how I can do it? Any alternative could also help me.
I have to created a dynamic URLcontaining the user id and email parameters, which
Share
Don’t think there’s a simple tokenized query string parser in GWT. But you can get the raw query string by using:
Parse it any way you like. I use it like this to set debug flags etc.:
Note that changing values in the query part of the url (between the
?and the#) will reload the page. While changing the “hash part” of the url (anything after the#) will not reload the page. Which is why the com.google.gwt.user.client.History uses the hash part.