schemeTypes[2] = "HTTPS-APR";
schemeTypes[3] = "AJP";
ArrayList types = new ArrayList();
// the first element in the select list should be the type selected
types.add(new LabelValueBean(type,
"AddConnector.do?select=" +
URLEncoder.encode(serviceName,TomcatTreeBuilder.URL_ENCODING)
+ "&type=" + type));
for (int i=0; i< schemeTypes.length; i++) {
if (!type.equalsIgnoreCase(schemeTypes[i])) {
types.add(new LabelValueBean(schemeTypes[i],
"AddConnector.do?select=" +
URLEncoder.encode(serviceName,TomcatTreeBuilder.URL_ENCODING)
+ "&type=" + schemeTypes[i]));
}
}