anchor.diff:              <tbody>
                   <tr>
                       <td width="1%" nowrap>
  -                        <input type="radio" <%= (isLDAP) ? "disabled" : "readonly"%>
  -                        <%= ((isLDAP) ? "" : "checked") %>>
  +                        <input id="rb1" type="radio" ${isLdap ? 'disabled' : 'readonly'} ${isLdap ? '' : 'checked'}
                       </td>
                       <td width="99%">
  -                        <b><fmt:message key="setup.profile.default" /></b> - <fmt:message key="setup.profile.default_description" />
  +                        <label for="rb1"><b><fmt:message key="setup.profile.default" /></b> - <fmt:message key="setup.profile.default_description" /></label>
                       </td>
                   </tr>
                   <tr>
                       <td width="1%" nowrap>
  -                        <input type="radio" <%= isLDAP ? "readonly" : "disabled"%>
  -                        <%= (isLDAP ? "checked" : "") %>>
  +                        <input id="rb2" type="radio" ${isLdap ? 'disabled' : 'readonly'} ${isLdap ? 'checked' : ''}
                       </td>
                       <td width="99%">
  -                        <b><fmt:message key="setup.profile.ldap" /></b> - <fmt:message key="setup.profile.ldap_description" />
  +                        <label for="rb2"><b><fmt:message key="setup.profile.ldap" /></b> - <fmt:message key="setup.profile.ldap_description" /></label>
                       </td>
                   </tr>
  -                <% if (isLDAP) { %>
  -                <%
  -                    StringBuilder sb = new StringBuilder();
  -                    for (String host : LdapManager.getInstance().getHosts()) {
  -                        sb.append(host).append(", ");
  -                    }
  -                    String hosts = sb.toString();
  -                    if (hosts.trim().length() > 0) {
  -                        hosts = hosts.substring(0, hosts.length()-2);
  -                    }
  -                    int port = LdapManager.getInstance().getPort();
  -                    String baseDN = LdapManager.getInstance().getBaseDN();
  -                    String adminDN = LdapManager.getInstance().getAdminDN();
  -                %>
  -                <tr>
  -                    <td width="1%" nowrap>
  -                        &nbsp;
  -                    </td>
  -                    <td width="99%">
  -                        <table class="jive-table" cellpadding="0" cellspacing="0" border="0" width="98%" align="right">
  -                        <thead>
  -                            <tr>
  -                                <th colspan="2"><fmt:message key="profile-settings.ldap_mapping_info" /></th>
  -                            </tr>
  -                        </thead>
  -                        <tbody>
  -                            <tr>
  -                                <td class="c1">
  -                                    <fmt:message key="setup.ldap.server.host" />:
  -                                </td>
  -                                <td class="c2">
  -                                    <%= hosts %>
  -                                </td>
  -                            </tr>
  -                            <tr>
  -                                <td class="c1">
  -                                    <fmt:message key="setup.ldap.server.port" />:
  -                                </td>
  -                                <td class="c2">
  -                                    <%= port %>
  -                                </td>
  -                            </tr>
  -                            <tr>
  -                                <td class="c1">
  -                                     <fmt:message key="setup.ldap.server.basedn" />:
  -                                </td>
  -                                <td class="c2">
  -                                    <%= baseDN %>
  -                                </td>
  -                            </tr>
  -                            <tr>
  -                                <td class="c1">
  -                                    <fmt:message key="setup.ldap.server.admindn" />:
  -                                </td>
  -                                <td class="c2">
  -                                    <%= adminDN %>
  -                                </td>
  -                            </tr>
  -                        </tbody>
  -                        </table>
  -                    </td>
  +                <c:if test="${isLdap}">
  +                    <tr>
  +                        <td width="1%" nowrap>
  +                            &nbsp;
  +                        </td>
  +                        <td width="99%">
  +                            <table class="jive-table" cellpadding="0" cellspacing="0" border="0" width="98%" align="right">
  +                            <thead>
  +                                <tr>
  +                                    <th colspan="2"><fmt:message key="profile-settings.ldap_mapping_info" /></th>
  +                                </tr>
  +                            </thead>
  +                            <tbody>
  +                                <tr>
  +                                    <td class="c1">
  +                                        <fmt:message key="setup.ldap.server.host" />:
  +                                    </td>
  +                                    <td class="c2">
  +                                        <c:out value="${hosts}"/>
  +                                    </td>
  +                                </tr>
  +                                <tr>
  +                                    <td class="c1">
  +                                        <fmt:message key="setup.ldap.server.port" />:
  +                                    </td>
  +                                    <td class="c2">
  +                                        <c:out value="${port}"/>
  +                                    </td>
  +                                </tr>
  +                                <tr>
  +                                    <td class="c1">
  +                                         <fmt:message key="setup.ldap.server.basedn" />:
  +                                    </td>
  +                                    <td class="c2">
  +                                        <c:out value="${baseDN}"/>
  +                                    </td>
  +                                </tr>
  +                                <tr>
  +                                    <td class="c1">
  +                                        <fmt:message key="setup.ldap.server.admindn" />:
  +                                    </td>
  +                                    <td class="c2">
  +                                        <c:out value="${adminDN}"/>
  +                                    </td>
  +                                </tr>
  +                            </tbody>
  +                            </table>
  +                        </td>
  +                    </tr>
                       <tr>
                           <td colspan="2" align="center">
                               <input type="submit" name="ldapedit" value="<fmt:message key="server.properties.edit" />">
                           </td>
                       </tr>
  -                <% } %>
  +                </c:if>
               </tbody>
               </table>
           </div>
  
positive.code:         response.sendRedirect("ldap-server.jsp");
          return;
      }
  %>
  
  <html>
  
negative.code:         <meta name="pageID" content="profile-settings"/>
      </head>
      <body>
      <p>
      <fmt:message key="profile-settings.info"/>
      </p>
  