your current directory is the one you get by new File("."); On Fri, 2005-06-24 at 11:28 -0400, Brian McGovern wrote: > Hi > > I've got a struts web app but am running Quartz also. In some places in my > app I need the servlet to figure out the path under which its running. I do > that like this. > > getServlet().getServletContext().getRealPath("foo"); > > This returns me my web app path up to the foo directory. > > > But in my Quartz schedule class that doesnt extent any Action class this > obviously doesnt work. So how can I get non servlet extended classes to > figure out current directory? > > Thanks >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]