SuperMoonster
Programmer
Hello guys,
I wanna get the directory from where my webapp is running. For desktop apps, I do:
How do I do it for webapps? I wanna get the path, something like: /srv/
I wanna get the directory from where my webapp is running. For desktop apps, I do:
Code:
System.getProperty("user.dir");
How do I do it for webapps? I wanna get the path, something like: /srv/