Re: [Question] [struts2-rest-plugin] How shall I handle GET request /orders/{id}/items?

2016-09-07 Thread Ken McWilliams
There isn't a recommended way to handle deeply set lists as per your example... Or I missed it. I'm not a fan of that plugin. It is really trivial to do this without any plugins: https://struts.apache.org/docs/wildcard-mappings.html Wildcards or using the named-pattern matcher (although in the lin

[Question] [struts2-rest-plugin] How shall I handle GET request /orders/{id}/items?

2016-09-07 Thread Yong Kang Guo
Hi experts, I'm learning to use the struts2-rest-plugin. In the sample project 'rest-showcase', I see a good example where I can GET /orders and /orders/1. But how to implement navigation from one resource to another? E.g., Let's say an Order has many Items. Then how to implement the proper han