Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ServletContext getContext(String uripath)

 
Anuj Kumar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the use of ServletContext getContext(String uripath) method...
and how to use it please clear it thanks in advance
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, see the question and answer in your other post (these two probably would have done better if they were in the same post):
http://www.coderanch.com/t/365346/Servlets/java/significance-Context-Path

Once you understand that, then the description in the API should be enough to answer this question:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContext.html#getContext(java.lang.String)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic