⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 advancedlogfiltermodehtml.jspf

📁 JAVA做的J2EE下CA认证系统 基于EJB开发
💻 JSPF
📖 第 1 页 / 共 3 页
字号:
                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_EQUALS) %>'><%= ejbcawebbean.getText("EQUALS") %>          </option>           <option <% if(tempval == BasicMatch.MATCH_TYPE_BEGINSWITH){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_BEGINSWITH) %>'><%= ejbcawebbean.getText("BEGINSWITH") %>          </option>           <option <% if(tempval == BasicMatch.MATCH_TYPE_CONTAINS){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_CONTAINS) %>'><%= ejbcawebbean.getText("CONTAINS") %>          </option>             <%  }              }else{%>          <option <% if(tempval == BasicMatch.MATCH_TYPE_EQUALS){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_EQUALS) %>'><%= ejbcawebbean.getText("EQUALS") %>          </option>           <option <% if(tempval == BasicMatch.MATCH_TYPE_BEGINSWITH){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_BEGINSWITH) %>'><%= ejbcawebbean.getText("BEGINSWITH") %>          </option>           <option <% if(tempval == BasicMatch.MATCH_TYPE_CONTAINS){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_CONTAINS) %>'><%= ejbcawebbean.getText("CONTAINS") %>           <% } %>          </select> &nbsp;&nbsp;         <select name="<%=SELECT_MATCHVALUE_ROW1 %>"           <% if(oldmatchwithrow1 != null){                 if(oldmatchwithrow1.equals(Integer.toString(LogMatch.MATCH_WITH_EVENT))){ %>              >                <% for(int i=0; i < eventnames.length; i++){ %>          <option <% if(oldmatchvaluerow1!= null){                       if(Integer.parseInt(oldmatchvaluerow1) == ((Integer) eventtexttoid.get(eventnames[i])).intValue())                         out.write(" selected ");                    } %> value='<%= ((Integer) eventtexttoid.get(eventnames[i])).intValue() %>'><%= eventnames[i] %>          </option>                                   <%  }                  }                  else{                   if(oldmatchwithrow1.equals(Integer.toString(LogMatch.MATCH_WITH_SPECIALADMIN))){ %>              >                <% for(int i=0; i < ADMINTYPES.length; i++){ %>          <option <% if(oldmatchvaluerow1!= null){                       if(oldmatchvaluerow1.equals(Integer.toString(i)))                         out.write(" selected ");                    } %> value='<%= i %>'><%= ejbcawebbean.getText(ADMINTYPES[i]) %>          </option>                                   <%  }                  }                  else{                  if(oldmatchwithrow1.equals(Integer.toString(LogMatch.MATCH_WITH_CA))){ %>              >                <%                    canameiter = canameandids.keySet().iterator();                   for(int i=0; i < canameandids.keySet().size(); i++){ %>          <option <%                       String caname = (String) canameiter.next();                       index = ((Integer) canameandids.get(caname)).intValue();                       if(oldmatchvaluerow1!= null){                         if(oldmatchvaluerow1.equals(Integer.toString(index)))                          out.write(" selected ");                      }                     %> value='<%= index %>'><%= caname %>          </option>                                    <%  }                  }                  else{                   if(oldmatchwithrow1.equals(Integer.toString(LogMatch.MATCH_WITH_MODULE))){ %>              >                <% for(int i=0; i < modulenames.length; i++){ %>          <option <% index = ((Integer) moduletexttoid.get(modulenames[i])).intValue();                      if(oldmatchvaluerow1!= null){                         if(oldmatchvaluerow1.equals(Integer.toString(index)))                          out.write(" selected ");                      }                     %> value='<%= index %>'><%= modulenames[i] %>          </option>                                    <%  }                  }                  else{ %>                   disabled >                  <% }                 }}}              }else{ %>                disabled >            <% } %>       </select>       <% if( oldmatchwithrow1!= null){           if(  oldmatchwithrow1.equals(Integer.toString(LogMatch.MATCH_WITH_EVENT)) || Integer.parseInt(oldmatchwithrow1) == LogMatch.MATCH_WITH_MODULE || oldmatchwithrow1.equals(Integer.toString(LogMatch.MATCH_WITH_SPECIALADMIN)) || oldmatchwithrow1.equals(Integer.toString(LogMatch.MATCH_WITH_CA))){ %>       <input type="text" name="<%=TEXTFIELD_MATCHVALUE_ROW1 %>"  size="1" maxlength="255" value='' disabled >               <% }else{ %>              <input type="text" name="<%=TEXTFIELD_MATCHVALUE_ROW1 %>" size="40" maxlength="255" value='<%=oldmatchvaluerow1 %>' >           <% }           }else{ %>              <input type="text" name="<%=TEXTFIELD_MATCHVALUE_ROW1 %>" size="40" maxlength="255" value='' >        <% } %>    </td>  </tr>  <tr>     <td width="2%">&nbsp;</td>    <td width="5%" align="left">       <select name='<%= SELECT_CONNECTOR_ROW2  %>'>           <option  value='<%= VALUE_NONE %>'><%= ejbcawebbean.getText("NONE") %>         </option>         <% for(int i=0; i<  connectorreferences.length; i++) { %>          <option <% if(oldconnectorrow2 != null)                      if(oldconnectorrow2.equals(Integer.toString(i)))                         out.print(" selected ");                      %> value='<%= i %>'>            <%= ejbcawebbean.getText(connectorreferences[i]) %>         </option>          <% } %>        </select>    </td>    <td width="93%" align="left">         <% tempval = -1;           if(oldmatchwithrow2!= null)             tempval= Integer.parseInt(oldmatchwithrow2); %>        <select name="<%=SELECT_MATCHWITH_ROW2 %>" onchange='changematchfields(2)' >           <option  value='<%= VALUE_NONE %>'><%= ejbcawebbean.getText("NONE") %>           </option>           <option <%  if(tempval == LogMatch.MATCH_WITH_EVENT)                         out.write(" selected ");                    %> value='<%=LogMatch.MATCH_WITH_EVENT %>'><%= ejbcawebbean.getText("MATCHEVENT") %>           </option>           <option <%  if(tempval == LogMatch.MATCH_WITH_CA)                         out.write(" selected ");                    %> value='<%= LogMatch.MATCH_WITH_CA %>'><%= ejbcawebbean.getText("MATCHCA") %>           </option>           <option <%  if(tempval == LogMatch.MATCH_WITH_MODULE)                         out.write(" selected ");                    %> value='<%= LogMatch.MATCH_WITH_MODULE%>'><%= ejbcawebbean.getText("MATCHMODULE") %>           </option>           <option <% if(tempval == LogMatch.MATCH_WITH_USERNAME)                         out.write(" selected ");                     %> value='<%= LogMatch.MATCH_WITH_USERNAME %>'><%= ejbcawebbean.getText("MATCHUSERNAME") %>           </option>           <option <% if(tempval == LogMatch.MATCH_WITH_CERTIFICATE)                         out.write(" selected ");                         %> value='<%= LogMatch.MATCH_WITH_CERTIFICATE %>'><%= ejbcawebbean.getText("MATCHCERTIFICATE") %>           </option>           <option <%if(tempval == LogMatch.MATCH_WITH_SPECIALADMIN)                         out.write(" selected ");                     %> value='<%= LogMatch.MATCH_WITH_SPECIALADMIN %>'><%= ejbcawebbean.getText("MATCHADMINTYPE") %>           </option>           <option <% if(tempval == LogMatch.MATCH_WITH_ADMINCERTIFICATE)                         out.write(" selected ");                     %> value='<%= LogMatch.MATCH_WITH_ADMINCERTIFICATE %>'><%= ejbcawebbean.getText("MATCHADMINCERT") %>           </option>           <option <% if(tempval == LogMatch.MATCH_WITH_IP)                         out.write(" selected ");                     %> value='<%= LogMatch.MATCH_WITH_IP %>'><%= ejbcawebbean.getText("MATCHADMINIP") %>          </option>          <option <%if(tempval == LogMatch.MATCH_WITH_COMMENT)                         out.write(" selected ");                     %> value='<%= LogMatch.MATCH_WITH_COMMENT %>'><%= ejbcawebbean.getText("MATCHCOMMENT") %>          </option>        </select> &nbsp;&nbsp;          <%           tempval = -1;           if(oldmatchtyperow2!= null)             tempval= Integer.parseInt(oldmatchtyperow2);          %>        <select name="<%=SELECT_MATCHTYPE_ROW2 %>">          <% if(oldmatchwithrow2 != null){               if(Integer.parseInt(oldmatchwithrow2) == LogMatch.MATCH_WITH_EVENT || Integer.parseInt(oldmatchwithrow2) == LogMatch.MATCH_WITH_MODULE                   || Integer.parseInt(oldmatchwithrow2) == LogMatch.MATCH_WITH_SPECIALADMIN || Integer.parseInt(oldmatchwithrow2) == LogMatch.MATCH_WITH_CA){ %>          <option <%  if(tempval == BasicMatch.MATCH_TYPE_EQUALS){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_EQUALS) %>'><%= ejbcawebbean.getText("EQUALS") %>          </option>             <%  }                 else{ %>          <option <% if(tempval == BasicMatch.MATCH_TYPE_EQUALS){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_EQUALS) %>'><%= ejbcawebbean.getText("EQUALS") %>          </option>           <option <% if(tempval == BasicMatch.MATCH_TYPE_BEGINSWITH){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_BEGINSWITH) %>'><%= ejbcawebbean.getText("BEGINSWITH") %>          </option>           <option <% if(tempval == BasicMatch.MATCH_TYPE_CONTAINS){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_CONTAINS) %>'><%= ejbcawebbean.getText("CONTAINS") %>          </option>             <%  }              }else{%>          <option <% if(tempval == BasicMatch.MATCH_TYPE_EQUALS){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_EQUALS) %>'><%= ejbcawebbean.getText("EQUALS") %>          </option>           <option <% if(tempval == BasicMatch.MATCH_TYPE_BEGINSWITH){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_BEGINSWITH) %>'><%= ejbcawebbean.getText("BEGINSWITH") %>          </option>           <option <% if(tempval == BasicMatch.MATCH_TYPE_CONTAINS){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_CONTAINS) %>'><%= ejbcawebbean.getText("CONTAINS") %>           <% } %>          </select> &nbsp;&nbsp;         <select name="<%=SELECT_MATCHVALUE_ROW2 %>"           <% if(oldmatchwithrow2 != null){                 if(oldmatchwithrow2.equals(Integer.toString(LogMatch.MATCH_WITH_EVENT))){ %>              >                <% for(int i=0; i < eventnames.length; i++){ %>          <option <% if(oldmatchvaluerow2!= null){                       if(Integer.parseInt(oldmatchvaluerow2) == ((Integer) eventtexttoid.get(eventnames[i])).intValue())                         out.write(" selected ");                    } %> value='<%= ((Integer) eventtexttoid.get(eventnames[i])).intValue() %>'><%= eventnames[i] %>          </option>                                   <%  }                  }                  else{                   if(oldmatchwithrow2.equals(Integer.toString(LogMatch.MATCH_WITH_SPECIALADMIN))){ %>              >                <% for(int i=0; i < ADMINTYPES.length; i++){ %>          <option <% if(oldmatchvaluerow2!= null){                       if(oldmatchvaluerow2.equals(Integer.toString(i)))                         out.write(" selected ");                    } %> value='<%= i %>'><%= ejbcawebbean.getText(ADMINTYPES[i]) %>          </option>                                   <%  }                  }                  else{                  if(oldmatchwithrow2.equals(Integer.toString(LogMatch.MATCH_WITH_CA))){ %>              >                <%                    canameiter = canameandids.keySet().iterator();                   for(int i=0; i < canameandids.keySet().size(); i++){ %>          <option <%                       String caname = (String) canameiter.next();                       index = ((Integer) canameandids.get(caname)).intValue();                       if(oldmatchvaluerow2!= null){                         if(oldmatchvaluerow2.equals(Integer.toString(index)))                          out.write(" selected ");                      }                     %> value='<%= index %>'><%= caname %>          </option>                                    <%  }                  }                  else{                   if(oldmatchwithrow2.equals(Integer.toString(LogMatch.MATCH_WITH_MODULE))){ %>              >                <% for(int i=0; i < modulenames.length; i++){ %>          <option <% index = ((Integer) moduletexttoid.get(modulenames[i])).intValue();                      if(oldmatchvaluerow2!= null){                         if(oldmatchvaluerow2.equals(Integer.toString(index)))                          out.write(" selected ");                      }                     index = ((Integer) moduletexttoid.get(modulenames[i])).intValue();                     %> value='<%= index %>'><%= modulenames[i] %>          </option>                                  <%  }                  }                  else{ %>                   disabled >                  <% }                 }}}              }else{ %>                disabled >            <% } %>       </select>       <% if( oldmatchwithrow2!= null){           if(  oldmatchwithrow2.equals(Integer.toString(LogMatch.MATCH_WITH_EVENT)) || Integer.parseInt(oldmatchwithrow2) == LogMatch.MATCH_WITH_MODULE || oldmatchwithrow2.equals(Integer.toString(LogMatch.MATCH_WITH_SPECIALADMIN)) || oldmatchwithrow2.equals(Integer.toString(LogMatch.MATCH_WITH_CA))){ %>       <input type="text" name="<%=TEXTFIELD_MATCHVALUE_ROW2 %>"  size="1" maxlength="255" value='' disabled >               <% }else{ %>              <input type="text" name="<%=TEXTFIELD_MATCHVALUE_ROW2 %>" size="40" maxlength="255" value='<%=oldmatchvaluerow2 %>' >           <% }           }else{ %>              <input type="text" name="<%=TEXTFIELD_MATCHVALUE_ROW2 %>" size="40" maxlength="255" value='' >        <% } %>    </td>  </tr>  <tr>     <td width="2%">&nbsp;</td>    <td width="5%" align="left">       <select name='<%= SELECT_CONNECTOR_ROW3  %>'>           <option  value='<%= VALUE_NONE %>'><%= ejbcawebbean.getText("NONE") %>         </option>         <% for(int i=0; i<  connectorreferences.length; i++) { %>          <option <% if(oldconnectorrow3 != null)                      if(oldconnectorrow3.equals(Integer.toString(i)))                         out.print(" selected ");                      %> value='<%= i %>'>            <%= ejbcawebbean.getText(connectorreferences[i]) %>         </option>          <% } %>        </select>    </td>    <td width="93%" align="left">         <% tempval = -1;           if(oldmatchwithrow3!= null)             tempval= Integer.parseInt(oldmatchwithrow3); %>        <select name="<%=SELECT_MATCHWITH_ROW3 %>" onchange='changematchfields(3)' >           <option  value='<%= VALUE_NONE %>'><%= ejbcawebbean.getText("NONE") %>           </option>           <option <%  if(tempval == LogMatch.MATCH_WITH_EVENT)                         out.write(" selected ");                    %> value='<%= Integer.toString(LogMatch.MATCH_WITH_EVENT) %>'><%= ejbcawebbean.getText("MATCHEVENT") %>           </option>           <option <%  if(tempval == LogMatch.MATCH_WITH_CA)                         out.write(" selected ");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -