Re: REST Again

2009-01-11 Thread Adam Hardy
Musachy Barroso on 08/01/09 16:23, wrote: ok, here we go. Looking at the rest showcase application, when you hit this url: /orders/10 the REST plugin (to simplify) says "I have to invoke the 'show' method in the 'orders' action, and set its 'id' parameter to 10". How does the REST plugin know w

Re: REST Again

2009-01-08 Thread Frans Thamura
On Thu, Jan 8, 2009 at 11:23 PM, Musachy Barroso wrote: > ok, here we go. Looking at the rest showcase application, when you hit this > url: > > /orders/10 > > the REST plugin (to simplify) says "I have to invoke the 'show' method > in the 'orders' action, and set its 'id' parameter to 10". How d

Re: REST Again

2009-01-08 Thread Musachy Barroso
ok, here we go. Looking at the rest showcase application, when you hit this url: /orders/10 the REST plugin (to simplify) says "I have to invoke the 'show' method in the 'orders' action, and set its 'id' parameter to 10". How does the REST plugin know what to invoke? based on some simple conventi

REST Again

2009-01-08 Thread Frans Thamura
hi there chat with musa and he said that REST create the "action" for us but i still dont get, first Struts without REST, 1 action 1 result in REST, 1 result multiple action and mapped as REST URL can help all -- -- Frans Thamura Meruvian One Stop Java and Enterprise OSS Provider Technopren