Re: How to get Web Application path at Run-Time

2008-07-02 Thread Lukasz Lenart
> I am developing a web application using the struts 2 framework. In one > of the actions, I need to create a file at the run-time at a particular > location relative to the path where my web-application is deployed. How > can I retrieve the path at which my Web-app is deployed at run-time in > my

Re: How to get Web Application path at Run-Time

2008-07-02 Thread Paweł Wielgus
Hi, for example: filterConfig.getServletContext().getRealPath("") in FilterDispatcher.init(...) method. Best greetings, Paweł Wilegus. On 02/07/2008, Aggarwal, Rajat <[EMAIL PROTECTED]> wrote: > Hi All, > > > > I am developing a web application using the struts 2 framework. In one > of the acti