I'm pretty sure you can't do this:
<a href="/myContext/myRemoteServiceServlet?
param1Name=param1Value¶m2Name=param2Value">
I think what you need to do is something like this:
1) Edit your JSP page to link in the GWT app, e.g.
<head>
<title>Some Application</title>
......
......
<meta name='gwt:module' content='com.foo.myapp.MyGWTModule'>
<link rel=stylesheet href="MyGWTModule.css">
......
......
</head>
<body>
......
......
<script language="javascript"
src="com.foo.myapp.MyGWTModule.nocache.js"></script>
<iframe id="__gwt_historyFrame" style="width:0;height:0;border:
0"></iframe>
.......
.......
<DIV id="MyGWTApp">
</DIV>
.......
.......
</body>
2) In onModuleLoad():
RootPanel.get("MyGWTApp").add(aWidget);
3) Use the GWT RPC mechanism from within your GWT module code to fetch
data and populate your GWT widgets as per GWT documentation.
4) You can use more than one id tagged DIV to house different widgets
at different locations within the same JSP page. So you can have a
Tree here and a Grid there for example. Load them from onModuleLoad(),
not the JSP itself.
5) so far so straight forward, but what I do not believe you can do is
to add, say, a GWT Tree to JSP1, and then a GWT Grid to JSP2 from the
same GWT module because a GWT module is basically a javascript file
that gets loaded into a single page. You can do it by using separate
GWT modules for each JSP (the so-called "mini-app" approach), but that
is not always convenient. Therefore you need to have a think about how
you go about this since you may find you can't easily do exactly what
you had in mind.
regards
gregor
On Dec 3, 8:03 am, GWT Newbie <
nghieu.tru...@gmail.com> wrote:
> Hello,
>
> I am attempting to do a similar integration.
> I explain what I try to do here :
>
>
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...