Hello,

as said in the tutorial, this application supports 2 resources with the 
following URIs:

    * http://localhost:8182/firstResourceServlet/items : URI of the
      "items" resource.
    * http://localhost:8182/firstResourceServlet/items/{itemName} : URI
      of the "item" resource where {itemName} represents the name of an
      item.

You can follow the tutorial in order to see how to handle these two URIs 
(especially in the part called "The client application").

Having said that, I recognize there is a kind of confusion in the 
tutorial. The name of the application is basically the name of the war 
file (because we are using the default configuration of Tomcat), that is 
to say in our case "firstResourceServlet". But in the tutorial, the URIs 
are starting with "http://localhost:8182/firstResource/items";. I'll fix it.

best regards,
Thierry Boileau

> Could any one tell me what i did wrong? I deployed the extracted 
> firstResourceServlet.war file (no change) to tomcat 6.0.18, it reported error 
> as:
>
>  resource /firstResourceServlet not found?
>
> thanks
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=983847
>
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=984456

Reply via email to