title: How to map long REST urls in struts2 - using struts2 rest plugin
body: <p>I've been learning to use struts2 rest plugin from a past few days. But no-where I found how to map long rest URLs.</p>
  
  <p>For e.g.
  If I want to map an URL like below :</p>
  
  <pre><code>/profiles/user-test/orders/64/item/4
  </code></pre>
  
  <p>where </p>
  
  <pre><code>username is user-test
  order id is 64
  item id is 4
  </code></pre>
  
  <p>How can I map something like this to a struts2 action ?</p>
  
  <p>All I found on internet is just a single level being edited/displayed etc. But if I want to display something on multiple-level - then how to proceed ? Please guide.</p>