Thursday, October 31, 2013

Re: GWT RPC AsyncCallBack is always failing persistently.

<module>
<inherits name="com.google.gwt.user.User"/>
<inherits name="com.google.gwt.user.theme.standard.Standard"/>
<entry-point class="com.mycompany.project.client.Alternate"></entry-point>
<servlet class = "com.mycompany.project.server.MySQLConnection" path="/MySQLConnection"/>

This was my previous xml file in the system.

I read the website you have given me, I tried to copy and paste the website you have given me and edit accordingly but the results is the module would not load, hence i re-edited with a new line 
<servlet-mapping url-pattern="com.mycompany.project.client.Connection"></servlet-mapping><servlet>

but the module would not load either, it gives Line 6: Unexpected element 'servlet-mapping'.

i would like to ask also, for the url pattern, does it link it to my interface which is the Synchonous interface?
 

On Friday, November 1, 2013 1:01:34 AM UTC+8, Jens wrote:
GWT tries to send its request to /com.mycompany.project.Alternate/MySQLConnection but your servlet isn't deployed at that location. 

Check your servlet configuration in your web.xml file. 


-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment