• Post Reply Bookmark Topic Watch Topic
  • New Topic

Project Jersey Jax-RS - Multiple classes with same path  RSS feed

 
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,

I just started looking at JAX-RS and was using Jersey Implementation.
What i have is two simple classes having the same @Path annotation, and the deployment goes smoothly.

My first question should the deployment not check for the multiple classes having same path, Also if it does not as is the case when i deploy this on tomcat 6.X, what will be called when i do a get from the client or type the address in browser.

Any pointers or links are appreciated.

Thanks,
Rahul
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!