I have a list populated from my xml. This contains set of values say A,B,C,D and E. I am using this list to come up in my drop down menu in the JSP. Is there anyway where in i can make only A,B,C and D populate in the drop down and not 'E' without modifying the xml?
  <% List services = AccountingCRCWrapper.getInstance().getServicesList();%>
            <td width="60%"class="value">
            <select name ="service"  id="service">
            <%if (services!=null && services.size()>0){
                 LabelValueBean service = null;
                 String value = "";
                 String text   = "";
                    for (int i=0; i<services.size(); i++){
                        String Selected = "";
                        service = (LabelValueBean)services.get(i);
                         value  = service.getLabel();
                         text   = service.getValue();
                         if (value.equalsIgnoreCase(AccountingConstants.IWF_SERVICE)){
                            Selected = "selected";
                         }
                            if(value.equalsIgnoreCase("b2b_analytics_si"){
                                continue;
                            }
                %>
            <option value="<%=value%>" <%=Selected%> ><%=text%></option>
            <%} }%>
            </select>
            </td>
          </tr>
 
     
     
    