struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aggarwal, Rajat" <>
Subject How to get Web Application path at Run-Time
Date Wed, 02 Jul 2008 07:37:26 GMT
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:
For additional commands, e-mail:

View raw message