Here r few lines of codes; package com.deepa.servlet; import java.io.*; import java.util.*; import java.net.*; import javax.servlet.*; import javax.servlet.http.*; import java.util.zip.GZIPOutputStream; public class DownloadFiles extends HttpServlet { private static final String DIR = "dir"; private String separator; private String root; public DownloadFiles() { Properties propFile = null; FileInputStream in = null; String JAVA_HOME = "application.properties"; // Get a handle on the properties file try{ in = new FileInputStream(JAVA_HOME); propFile = new Properties(); propFile.load(in); } catch (IOException ignore){} separator = "/"; // Get the directory from the application.properties file // e.g. C:\\Temp\\Files\\ root = propFile.getProperty("app.directory"); } Code continues....... I m typing the url as http://localhost:8080/Downloadfile/servlet/DownloadFiles I m trying in all possible ways, but still i am getting the same error. Pls help Thanks in advance Deepa vineesh kumar <[EMAIL PROTECTED]> wrote: that may be the correct path also check that package com.deepa.servlet; at the first line itself is declared in ur java file - Show quoted text -
--------------------------------- Jiyo cricket on Yahoo! India cricket