users@jersey.java.net

Getting context root from rest service

From: vineetkr211 <vineet.kumar_at_altair.com>
Date: Tue, 8 Jun 2010 03:54:18 -0700 (PDT)

Hi,

How can I retrieve context root of my application? For e.g., If the url for
my service is
"http://localhost:8080/aif-filebrowser-service/rest/GetFilesFromHome". I
would like to get "http://localhost:8080/aif-filebrowser-service/", which
points to my application root. How can i get this in my Rest service class?
-- 
View this message in context: http://jersey.576304.n2.nabble.com/Getting-context-root-from-rest-service-tp5153138p5153138.html
Sent from the Jersey mailing list archive at Nabble.com.