It should be

<servlet-mapping>
       <servlet-name>GameService</servlet-name>
<url-pattern>/GameService</url-pattern>
 </servlet-mapping>


On Wed, Feb 11, 2009 at 12:45 PM, [email protected] <
[email protected]> wrote:

>
> Thanks I found somthing useful, but one thing doesn't work for me:
>
> My Servlet: org.itech.server.games.GameService
> I wrote the following to the web.xml of my apache tomcat (like in the
> example):
>
>    <servlet>
>        <servlet-name>GameService</servlet-name>
>        <servlet-class>org.itech.server.games.GameService</servlet-
> class>
>    </servlet>
>
>    <servlet-mapping>
>        <servlet-name>GameService</servlet-name>
>        <url-pattern>*/GameService</url-pattern>
>    </servlet-mapping>
>
> The path to the class file is correct, but I get the following error
> message:
>
> [WARN] Parse error in default web.xml
> org.xml.sax.SAXParseException: Error at (577, 23: Invalid <url-
> pattern> */GameService in servlet mapping [...]
>
> Can someone help me ?
> 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]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to