I have implemneted the example Stock Watcher application, i am trying
to deploy the example in Apache Tomcat 5.5.

After downloading the example from GWT @
http://code.google.com/webtoolkit/doc/trunk/tutorial/RPC.html, and
implementing GWT RPC according to the tutorial:

I haven't come across setting the servlet mapping in the Tutotrial.
After deploying in Apache Tomcat 5.5, only my client side code is
running and its not connecting to the server side.

After reading this from the tutorial

"""If your web pages display but the RPC calls don't seem to be going
through, try turning on access logging on Tomcat. You may find that
the URL used by the client side has not been registered by Tomcat, or
that there is a misconfiguration between the URL path set in the
setServiceEntryPoint(URL) call when declaring your RPC service and the
<url-pattern> URL mapping the the web.xml file."""

Now i think i have a misconfiguration between the setting in
setServiceEntryPoint and url-pattern. Below are the entries of the
Gwt.Xml and Web.xml:

Gwt.Xml:
<entry-point
class='com.google.gwt.sample.stockwatcher.client.StockWatcher'/>

Web.Xml:
<servlet-mapping>
   <servlet-name>stockPriceServiceImpl</servlet-name>
   <url-pattern>/stockwatcher/stockPrices</url-pattern>
 </servlet-mapping>

and the StockPriceService.java:
@RemoteServiceRelativePath("stockPrices")

Can any one tell me what should i do now to do a Url mapping so the
RPC call will be going through.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to