code: public String getFullPath(String strSite, String strPath)
      {
          if (strSite != null)
          {
              if (strPath != null)
                  if (strPath.startsWith("/"))
                      strPath = strSite + strPath;
          }
          return strPath;
      }
docs: GetFullPath Method.