Hi, Harsh. 1. For each of your remote services (interface) specify it's own path 2. Create a servlet for each of your remote service. 3. Describe each of your servlets in web.xml (give them name and specify class-name). 4. Specify unique servlet mapping for each of your servlets (servlet-mapping entry must match correspondent remote service interface path that is defined at step 1).
-- Kind regards, Ignat Alexeyenko. On Tue, Mar 2, 2010 at 3:45 AM, Harsh Yadav <[email protected]> wrote: > I am trying to create multiple servlets. > > When I add them separately in the web.xml file, and try to run my > application, I get errors, and it wont run. > > Could anyone suggest, how I can handle multiple servlets in GWT, so > that I could separate logic. > > Thanks. > > -- > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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.
