Hi
In the tutorial it says

In the <servlet-mapping> element, the url-pattern can be in the form
of an absolute directory path (for example, /spellcheck or /common/
login). If you specify a default service path with a
@RemoteServiceRelativePath annotation on the service interface (as you
did with StockPriceService), then make sure the path attribute matches
the annotation value. Because you've mapped the StockPriceService to
"stockPrices" and the module rename-to attribute in
StockWatcher.gwt.xml is "stockwatcher", the full URL will be:
http://localhost:8888/stockwatcher/stockPrices

If you are using JSON rather than RPC where exactly do you put this
declaration @RemoteServiceRelativePath because you don't use the
service interface. In my application the GWT.xml I can declare a
location but it finds nothing, if I stick with the root folder in the
mapping it comes back Forbidden but at least I get a response.

Thanks
Sean

-- 
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.

Reply via email to