aspose file tools*
The moose likes Web Services and the fly likes Get the servlet context path in a web service method. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Get the servlet context path in a web service method." Watch "Get the servlet context path in a web service method." New topic
Author

Get the servlet context path in a web service method.

muthu bharathi
Ranch Hand

Joined: Dec 10, 2008
Posts: 97
Hi All,


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?

or

i want to know how to use getServletContext() method in struts. is it possible. if possible, please guide me.. very urgent for me....


--
With Regards,
M. Bharathi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Get the servlet context path in a web service method.