---
title: "获得tomcat应用工程目录"
author: "vicento4"
date: "2011-09-23T17:49:45Z"
tags: []
categories: ["编程语言"]
slug: "tomcat"
draft: false
lastmod: "2011-09-23T17:49:45Z"
id: 1179234
url: "https://vicento4.iteye.com/blog/1179234"
---

String path = this.getClass().getClassLoader().getResource("/").getPath();