Here's some extra info:
In my service class:
ServiceDefTarget target = (ServiceDefTarget) serviceProxy;
String serviceURL = GWT.getModuleBaseURL() + "/
firstlettergroupservice";
if (GWT.isScript()) {
serviceURL = "/TestGWT/firstlettergroupservice";
}
target.setServiceEntryPoint(serviceURL);
where TestGWT is my application.
In my web.xml:
<servlet>
<servlet-name>FirstLetterServiceImpl</servlet-name>
<servlet-
class>com.gallup.ice.screen28.server.rpc.firstletter.FirstLetterServiceImpl</
servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>FirstLetterServiceImpl</servlet-name>
<url-pattern>/firstlettergroupservice</url-pattern>
</servlet-mapping>
On Apr 24, 10:58 am, badgerduke <[email protected]> wrote:
> OK, I got my GWT content to show up in the JSP, but it is not
> successfully connecting to my PRC services. I have web.xml configured
> correctly, except I left out the <servlet> entry for
> com.google.gwt.dev.shell.GWTShellServlet. My services classes are in
> a jar on my classpath. Any ideas?
>
> On Apr 24, 9:41 am, badgerduke <[email protected]> wrote:
>
> > Hello:
>
> > I need to include a GWT application into a JSP. I thought this would
> > be as simple as saying:
>
> > <jsp:include page="screen28/Screen28.html"/> where Screen28.html is
> > the generated html page:
>
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> > <html>
> > <head>
> > <meta http-equiv="content-type" content="text/html;
> > charset=UTF-8">
> > <title>Application</title>
> > <script type="text/javascript" language="javascript"
> > src="screen28.Screen28.nocache.js"></script>
> > </head>
> > <body>
>
> > <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1'
> > style="position:absolute;width:0;height:0;border:0"></iframe>
> > </body>
> > </html>
>
> > But instead I get "INFO: Servlet shell is currently unavailable" in
> > Tomcat 6. I have gwt-dev-windows.jar, gwt-servlet.jar and gwt-
> > user.jar on my classpath. My GWT service code is in a jar on the
> > classpath.
>
> > Any ideas?
>
> > Thanks,
> > Eric
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---