Added a way to get the time of start of the server context.
[jsvc.git] / src / dolda / jsvc / j2ee / J2eeContext.java
index f253128..e8f65a6 100644 (file)
@@ -18,4 +18,8 @@ public class J2eeContext implements ServerContext {
     public String rootpath() {
        return(req.getContextPath());
     }
+    
+    public long starttime() {
+       return((Long)cfg.getServletContext().getAttribute("jsvc.starttime"));
+    }
 }