diff --git a/src/helma/framework/core/Application.java b/src/helma/framework/core/Application.java index 23a99bac..a26c5153 100644 --- a/src/helma/framework/core/Application.java +++ b/src/helma/framework/core/Application.java @@ -831,6 +831,14 @@ public final class Application implements IPathElement, Runnable { return pwfile.authenticate (uname, password); } + /** + * Return the href to the root of this application. + */ + public String getRootHref () { + return getNodeHref (getDataRoot(), null); + } + + /** * Return a path to be used in a URL pointing to the given element and action */