thank you for giving response,
Actually my requirement is to upload a file in specific directory.
Suppose I am having directory structure like
webapps
application
WEB-INF
IMAGES
some static resources
I want to upload a file into images folder.
In what way i can get the real path of our webapplication .I am doing this one in
struts.
Thanking you