You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2002/04/26 05:50:41 UTC

cvs commit: jakarta-tomcat-4.0/webapps/admin/connector connectors.jsp

manveen     02/04/25 20:50:41

  Modified:    webapps/admin/connector connectors.jsp
  Log:
  Do not display a checkbox in front of the connector that the admin app runs on in order to prevent it from being deleted through the tool.
  
  Revision  Changes    Path
  1.2       +4 -0      jakarta-tomcat-4.0/webapps/admin/connector/connectors.jsp
  
  Index: connectors.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/connector/connectors.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- connectors.jsp	4 Apr 2002 00:40:26 -0000	1.1
  +++ connectors.jsp	26 Apr 2002 03:50:41 -0000	1.2
  @@ -64,8 +64,12 @@
           <logic:iterate name="connectorsList" id="connector">
             <tr class="line-row">
               <td><div align="left" class="table-normal-text">&nbsp;
  +            <%-- the connector the admin app is running on cannot be deleted 
  +                 through the tool --%>
  +            <logic:notMatch name="connector" value='<%= Integer.toString(request.getServerPort()) %>'>
                 <html:multibox property="connectors"
                                   value="<%= connector.toString() %>"/>
  +            </logic:notMatch>                     
               </div></td>
               <td><div align="left" class="table-normal-text">&nbsp;
                 <html:link page='<%= "/EditConnector.do?select=" + 
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>