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