code: public String getHtmlForDbSelection() {
  
          StringBuffer buf = new StringBuffer(2048);
  
          buf.append(
              "<select name=\"fullDatabaseKey\" style=\"width: 250px;\" size=\"1\" onchange=\"location.href='../../step_3_database_selection.jsp?fullDatabaseKey='+this.options[this.selectedIndex].value;\">");
          buf.append("<!-- --------------------- JSP CODE --------------------------- -->");
  
          // get all available databases
          List<String> databases = getSortedDatabases();
  
          //  List all databases found in the dbsetup.properties
          if ((databases != null) && (databases.size() > 0)) {
  
              List<String> sqlDbs = new ArrayList<String>();
  
              for (String dbKey : databases) {
                  sqlDbs.add(dbKey);
              }
  
              // show the sql dbs first
              for (String dbKey : sqlDbs) {
                  String dn = getDatabaseName(dbKey);
                  String selected = "";
                  if (getFullDatabaseKey().equals(dbKey + "_sql")) {
                      selected = "selected";
                  }
                  buf.append("<option value='" + dbKey + "_sql' " + selected + ">" + dn);
              }
          } else {
              buf.append("<option value='null'>no database found");
          }
  
          buf.append("<!-- --------------------------------------------------------- -->");
          buf.append("</select>");
  
          return buf.toString();
      }
docs: Generates the HTML code for the drop down for db selection.<p>
  
  @return the generated HTML