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 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 action class?
>
>
>
>  An early response shall be appreciated
>
>
>
>  Thanks and regards
>
>
>
>  Rajat Aggarwal
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to