if(labels!=null)str=SystemUtil.parsePlaceHolder(str,((ServletConfig)config).getServletContext(),labels);
}
else str=SystemUtil.parsePlaceHolder(str);
if(StringUtil.startsWith(str,'{')){
Struct constants = ((ConfigImpl)config).getConstants();
//Collection.Key[] arr = constants.keys();
Iterator<Entry<Key, Object>> it = constants.entryIterator();
Entry<Key, Object> e;
while(it.hasNext()) {
e = it.next();
if(StringUtil.startsWithIgnoreCase(str,"{"+e.getKey().getString()+"}")) {
String value=(String) e.getValue();