code: public void setContextPath(String contextPath) {
  
  		if (contextPath != null && !contextPath.endsWith("/")) {
  			contextPath += "/";
  		}
  		this.contextPath = contextPath;
  	}
docs: Sets the context path
  
  @param contextPath
  the contextPath to set