Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Get the servlet context path in a web service method.

 
muthu bharathi
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic