you just have to parse the http URL in your address bar.
in your onModuleLoad method just call the following method
public static native String getHref() /*-{
return $wnd.location.href;
}-*/;
public void onModuleLoad(){
String url = getHref();
// you just have to parse the url now using a regex and any string
utility you are familiar with
}
On Tue, Oct 14, 2008 at 12:44 PM, Tanzeem <[EMAIL PROTECTED]> wrote:
>
> hi
>
> i have a non-gwt applicaton's html page from which i have to pass
> parameters trhough a href definition like < a href=http://localhost:
> 7070/MyGWTApp?key=value
> to a gwt application.How do i make changes in the GWT application to
> enable parameter recieving?
> Any help please.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" 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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---