> my web.xml is below

I am not an expert... I am still learning, so this might not fix your
issue.  But I think you need to add a "servlet" and its corresponding
"servlet-mapping" for your "login" service.

I added what I think you should add in your web.xml file, assuming
that the login service invokes the Java LoginServiceImpl
implementation.

> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>     "http://java.sun.com/dtd/web-app_2_3.dtd";>
>
> <web-app>
>
>   <!-- Default page to serve -->
>   <welcome-file-list>
>     <welcome-file>StockWatcher.html</welcome-file>
>   </welcome-file-list>
>
>   <!-- Servlets -->
>   <servlet>
>     <servlet-name>greetServlet</servlet-name>
>     <servlet-
> class>com.google.gwt.sample.stockwatcher.server.GreetingServiceImpl</
> servlet-class>
>   </servlet>

<servlet>
   <servlet-name>loginServlet</servlet-name>
   <servlet-
class>com.google.gwt.sample.stockwatcher.server.LoginServiceImpl</
servlet-class>
</servlet>


>   <servlet-mapping>
>     <servlet-name>greetServlet</servlet-name>
>     <url-pattern>/stockwatcher/greet</url-pattern>
>   </servlet-mapping>

<servlet-mapping>
   <servlet-name>loginServlet</servlet-name>
   <url-pattern>/stockwatcher/login</url-pattern>
</servlet-mapping>


> </web-app>

Restart your local server with dev_appserver.sh (or .cmd).  Now it
should work :)
Hope it helped.
Cheers.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to