docs: public String getJnlpURL(String strJnlpURL, Map<String,Object> propApplet, Map<String,Object> properties)
      {
          String strBaseURL = (String)properties.get(DBParams.BASE_URL);
          if (strBaseURL == null)
              strBaseURL = DBConstants.BLANK;
          else if ((!strBaseURL.startsWith("/")) && (!strBaseURL.startsWith("http:")))
              strBaseURL = "//" + strBaseURL;
          if (!strBaseURL.startsWith("http:"))
              strBaseURL = "http:" + strBaseURL;
          StringBuffer sbJnlpURL = new StringBuffer(strBaseURL);
  
          if ((strJnlpURL == null) || (strJnlpURL.length() == 0))
          	strJnlpURL = DEFAULT_JNLP_URL;
          sbJnlpURL.append(strJnlpURL);
          
          sbJnlpURL.append("&" + DBParams.APPLET + "=" + propApplet.get(DBParams.APPLET));
          try {
              for (Map.Entry<String,Object> entry : properties.entrySet())
              {
                  String strKey = entry.getKey();
                  Object objValue = entry.getValue();
                  String strValue = null;
                  if (objValue != null)
                      strValue = objValue.toString();
                  if (strValue != null)
  //x                    if (strValue.length() > 0)
                          sbJnlpURL.append("&" + strKey + "=" + URLEncoder.encode(strValue, DBConstants.URL_ENCODING));
              }
          } catch (UnsupportedEncodingException e) {
              e.printStackTrace();
          }
          return sbJnlpURL.toString();
      }