Hi,
I want to redirect the to the other java class(dashboard.java)
which is working fine, but after redirecting t that page, i want to
add widgets and panels but i m not getting that how to display. To
redirect i have given url that i have defined in web.xml, but error is
that it is not a servlet, and if i give servlet i have to make that
file as a servlet but then it is not adding widgets and error occurs
of initialization . So i want to know that what url should i give in
web.xml and in which package should be that file ? and if other
possible way then it is welcomed.
This is code for redirection in entrypoint class - "Window.open
(GWT.getModuleBaseURL()+"dashboard","_self",null);"
and in web.xml :- <servlet>
<servlet-name>DashboardImpl</servlet-name>
<servlet-class>icopals.server.DashboardImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>DashboardImpl</servlet-name>
<url-pattern>/icopals_2/dashboard</url-pattern>
</servlet-mapping>
Dashboardimpl is class in which widgets display code is displayed.
How i can add widgets in DashboardImpl.java to display on redirection.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---