hello All,
After 3 days trying i don't know what to do anymore.
My PPC call is not working. i always receive a "POST [url]http://
localhost:8888/fnk/registermodule[/url] 404 Not Found".
Can anybody tell me what i'm doing wrong? I changed the web.xml file
allot
here are my classes and files
[B]IRegister [/B]class located at : modules.register.client.interfaces
[CODE]
@RemoteServiceRelativePath("registermodule")
public interface IRegister extends RemoteService {
public boolean insertNewUser(String userName, String passw, String
passw2, String email);
}
[/CODE]
[B]IRegisterAsync [/B]class located at :
modules.register.client.interfaces
[CODE]
public interface IRegisterAsync {
void insertNewUser(String userName, String passw, String passw2,
String email, AsyncCallback async);
}
[/CODE]
[B]Register[/B]class located at : modules.register.server
[CODE]
@SuppressWarnings("serial")
public class Register extends RemoteServiceServlet implements
IRegister {
public Register() {
// TODO Auto-generated constructor stub
}
@Override
public boolean insertNewUser(String userName, String passw, String
passw2,
String email) {
}
}
[/CODE]
[B]web.xml[/B] located at : /war/WEB-INF
[CODE]
<web-app>
<!-- Servlets -->
<servlet>
<servlet-name>RegisterModule</servlet-name>
<servlet-class>modules.register.server.Register</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>RegisterModule</servlet-name>
<url-pattern>/modules.register.register/registermodule</url-
pattern>
</servlet-mapping>
<!-- Default page to serve -->
<welcome-file-list>
<welcome-file>Fnk.html</welcome-file>
</welcome-file-list>
</web-app>
[/CODE]
[B]register.gwt.xml[/B] localted at /modules
[CODE]
<module>
<inherits name="com.google.gwt.user.User" />
<inherits name="modules.main" />
<source path="register/client"/>
</module>
[/CODE]
--
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.