I want to get the servlet context path in a web service method. This will be useful for me to access a properties file on the server. Is it possible to get the servlet context in a webservice method OR is there any other way of getting the context path without servlet?
i want to know how to use getServletContext() method in struts. is it possible. if possible, please guide me.. very urgent for me....
subject: Get the servlet context path in a web service method.