blic class test {
private static String CMBKeyFileName="action-servlet.xml";
private static String web_inf_Path=new File(test.class.getResource("/").getPath()).getParent();
private static String CMBKeyFilePath=web_inf_Path+"/"+CMBKeyFileName;
/**
* @param args
*/
public static void main(String[] args) {
// private static DocumentBuilderFactory domfac=DocumentBuilderFactory.newInstance();
// Map m = new HashMap();
System.out.println(CMBKeyFilePath);
}
private static String CMBKeyFileName="action-servlet.xml";
private static String web_inf_Path=new File(test.class.getResource("/").getPath()).getParent();
private static String CMBKeyFilePath=web_inf_Path+"/"+CMBKeyFileName;
/**
* @param args
*/
public static void main(String[] args) {
// private static DocumentBuilderFactory domfac=DocumentBuilderFactory.newInstance();
// Map m = new HashMap();
System.out.println(CMBKeyFilePath);
}