|How to get install folder of the application? [message #1059708]
||Tue, 21 May 2013 06:09
| Yury Mising name
Registered: May 2010
I need to get the folder which the application was installed in.|
Only one way which I know is to get ServletContext from any HttpServlet and request current path:
For Tomcat it returns "tomcat_dir\webapps\app_name\" folder.
The additional problem is no active user sessions yet - plugins of the application just were loaded by osgi.
Powered by FUDForum
. Page generated in 0.03014 seconds