- package com.yihu.utils;
- import java.io.File;
- public class FileUtil {
- public static String getTomcatLogDir(){
- return System.getProperty("catalina.home")+File.separator+"logs"+File.separator;
- }
-
- public static String getTomcatDir(){
- return System.getProperty("catalina.home")+File.separator;
- }
- }
|