manveen     02/04/26 13:07:36

  Modified:    webapps/admin/host hosts.jsp
  Log:
  Added a check that host for admin tool cannot be deleted through the tool to prevent 
it from hanging.
  
  Revision  Changes    Path
  1.2       +5 -0      jakarta-tomcat-4.0/webapps/admin/host/hosts.jsp
  
  Index: hosts.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/host/hosts.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- hosts.jsp 14 Mar 2002 08:49:41 -0000      1.1
  +++ hosts.jsp 26 Apr 2002 20:07:36 -0000      1.2
  @@ -57,8 +57,13 @@
           <logic:iterate name="hostsList" id="host">
             <tr class="line-row">
               <td><div align="left" class="table-normal-text">&nbsp;
  +              <logic:match name="host" value='<%= request.getServerName() %>'>
  +                <font color='red'>*</font>           
  +              </logic:match>          
  +              <logic:notMatch name="host" value='<%= request.getServerName() %>'>
                 <html:multibox property="hosts"
                                   value="<%= host.toString() %>"/>
  +              </logic:notMatch>                 
               </div></td>
               <td><div align="left" class="table-normal-text">&nbsp;
                 <html:link page='<%= "/EditHost.do?select=" + 
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to