Hi Raman, Every Action has a protected member variable (ActionServlet servlet) witch extends HttpServlet and is the controler servlet in a Struts app.
ServletContext context = servlet.getServletContext(); context.getRealPath(); Cheers, Greg > -----Original Message----- > From: Raman [mailto:[EMAIL PROTECTED] > Sent: Friday, February 20, 2004 4:49 PM > To: Struts Users Mailing List > Subject: How to get application.getRealPath() > > Hi All, > > Can any body tell me how can i get > application.getRealPath() value > in my Action's execute method. > > My problem is I want to get present physical path of my application. > > Pls help me.. > > -- Raman --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

