Dolda2000 GitWeb
/
jsvc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added URL parameter {en,de}coding.
[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
e8f65a6
..
696e32b
100644
(file)
--- a/
src/dolda/jsvc/j2ee/J2eeContext.java
+++ b/
src/dolda/jsvc/j2ee/J2eeContext.java
@@
-1,6
+1,7
@@
package dolda.jsvc.j2ee;
import dolda.jsvc.*;
package dolda.jsvc.j2ee;
import dolda.jsvc.*;
+import dolda.jsvc.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.*;
import javax.servlet.http.*;
@@
-16,7
+17,7
@@
public class J2eeContext implements ServerContext {
}
public String rootpath() {
}
public String rootpath() {
- return(
req.getContextPath(
));
+ return(
"/" + Misc.stripslashes(req.getContextPath(), true, true
));
}
public long starttime() {
}
public long starttime() {