Dolda2000 GitWeb
/
jsvc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added ways to get the addresses of the request's connection.
[jsvc.git]
/
src
/
dolda
/
jsvc
/
j2ee
/
J2eeContext.java
diff --git
a/src/dolda/jsvc/j2ee/J2eeContext.java
b/src/dolda/jsvc/j2ee/J2eeContext.java
index
f253128
..
e8f65a6
100644
(file)
--- a/
src/dolda/jsvc/j2ee/J2eeContext.java
+++ b/
src/dolda/jsvc/j2ee/J2eeContext.java
@@
-18,4
+18,8
@@
public class J2eeContext implements ServerContext {
public String rootpath() {
return(req.getContextPath());
}
public String rootpath() {
return(req.getContextPath());
}
+
+ public long starttime() {
+ return((Long)cfg.getServletContext().getAttribute("jsvc.starttime"));
+ }
}
}