Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

URI mapping

 
David Spades
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, i got the following code:


and the following pattern


somehow, the container always decides to match it to @Path("{user-id}"). How do I resolve this?

Thanks.
 
arumugarani sundaram
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The details in the question are not very clear. But, in our jboss server we used to map all the path params with slash /.

@Path("/{bill-id}/request")
@Path("/{user-id}")

Thanks,
Arumugarani
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!