Ran into interesting issue where Jersey was to be mapped to /* to make the REST urls easy. I mean instead of http://foo.bar.com/rest/HelloWorld the rest urls had to be http://foo.bar.com/HelloWorld.
But also the JSP and in local dev env all static content needed to be served by tomcat. Was searching for a solution and ran into this Jersey mapped to all url and tomcat to serve JSP.
This thread on nabble made my day as I was looking for this solution for 2-3 days but was trying all wrong options.
But also the JSP and in local dev env all static content needed to be served by tomcat. Was searching for a solution and ran into this Jersey mapped to all url and tomcat to serve JSP.
This thread on nabble made my day as I was looking for this solution for 2-3 days but was trying all wrong options.
Comments
Post a Comment