I am adding a new service in web.xml file. Whenever i am running the 
project, my web.xml is getting overriten.
Because of this, at the time of loading of the service, it is giving me 
unable to find service exception. Could any body tell me , what could be 
the reason for this.

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
              http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
         version="2.5"
         xmlns="http://java.sun.com/xml/ns/javaee";>

  <!-- Servlets -->
  <servlet>
    <servlet-name>loginServiceServlet</servlet-name>
    <servlet-class>com.example.server.LoginServiceImpl</servlet-class>
  </servlet>
  
  <servlet-mapping>
    <servlet-name>loginServiceServlet</servlet-name>
    <url-pattern>/gwtcrud/loginService</url-pattern>
  </servlet-mapping>
  
  
  <!-- Default page to serve -->
  <welcome-file-list>
    <welcome-file>gwtcrud.html</welcome-file>
  </welcome-file-list>

</web-app>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/fDJo5zxR-fsJ.
To post to this group, send email to google-web-toolkit@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.

Attachment: web.xml
Description: XML document

Reply via email to