My JSP-application requires some configuration; so I created the Settings class which is a wrapper to an apache commons Configuration object which should be initialized in the static constructor of Settings and I wish to do that using path to the property file. But how can I get the application path (not web path) outside the JSP page? I know that there is config auto variable in JSPs, but I need the path outside from JSP code.
This problem seems to be quite common but I'm a newbie in the java world and can't get the solution.