23 path = URLDecoder.decode(getClass().getProtectionDomain().getCodeSource().getLocation().getPath(),
"x-www-form-urlencoded");
26 if ( (path.length() >=3) && (path.charAt(0) ==
'/') && (path.charAt(2) ==
':') )
27 path = path.substring(1);
29 int lastSlash = path.lastIndexOf(
'/');
30 path = path.substring(0, lastSlash);
31 }
catch (Exception ex) {
32 c_logger.error(
"caught exception during path calculation: " + ex.toString());