Here you can find the source of filePath(String compchartimage)
public static String filePath(String compchartimage)
//package com.java2s; //License from project: Open Source License public class Main { public static String appHomeDir = System.getProperty("catalina.home"); public static String filePath(String compchartimage) { return appHomeDir + compchartimage; }//from w w w. ja va 2 s.c o m }