絶対パスを取得 ServletContext context = this.getServlet().getServletContext(); String RealPath = context.getRealPath("/");