Hi,
I think there is one more option for that as provided by GWT itself

Window.Location.getParameter("ProjID");
Hope this should work in you case. Window is the class provided by the GWT.
Location is the internal class of the Window which provides the methods to
play with the current window location.

Try this and also do answer me the in case of the success as I have not
tried this as well but logically it should work

-------Original Message-------
 
From: Vishesh
Date: 02/23/09 06:38:29
To: [email protected]
Subject: Re: hi
 
You will have to assign the values to a var variable and then retrive
it from the gwt function using the native jsni within a function.
for instance using query in the html page declare and assign the value
to a variable:
For html page: http://localhost:8888/...../myApp.html?ProjID=12345
 
var projectID = query['ProjID'];
 
And retrieve it in the gwt code by a function:
 
native String getProjectID() /*-{
    if($wnd.projectID) {
          return $wnd.projectID;
    }
}-*/
 
 
Hope this helps
Vishesh.
 
On Fri, Feb 20, 2009 at 11:25 AM, andres <[email protected]> wrote:
>
> how to pass jsp values to gwt
> >
>
 
 
 
--
Vishesh Sahu
 
 
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

<<inline: faint_grain.jpg>>

<<inline: IMSTP9.gif>>

Reply via email to