Directory path modified
authoradash <adash>
Wed, 15 Nov 2006 01:58:05 +0000 (01:58 +0000)
committeradash <adash>
Wed, 15 Nov 2006 01:58:05 +0000 (01:58 +0000)
Robust/src/Benchmarks/WebServer/Logger.java
Robust/src/Benchmarks/WebServer/WebServerSocket.java

index b0a5a2093e823528fafb3b7cf1dc3a6f66c4b4d5..1583870b51c099cd3992a2fc66998848fe4ff26d 100644 (file)
@@ -6,7 +6,7 @@ public class Logger {
 
     //Constructor
     public Logger(){
-       fos=new FileOutputStream("./Tests/htmlfiles/request.log");//Open request.log file 
+       fos=new FileOutputStream("../../Tests/htmlfiles/request.log");//Open request.log file 
     }
 
     //Logs filename as per client requests
index c985b4a2bdff7123f8e712b54c3ffed0accc6a2d..6d1144fadccfccdc442885221d1b42736dd55645 100644 (file)
@@ -28,7 +28,7 @@ public class WebServerSocket extends Socket {
        
        // Send the html file , read from file one byte at a time       
        public void sendfile() {
-               StringBuffer req_file = new StringBuffer("./Tests/htmlfiles/");
+               StringBuffer req_file = new StringBuffer("../../Tests/htmlfiles/");
                req_file.append(filename);
                String filepath = new String(req_file);
                FileInputStream def_file = new FileInputStream(filepath);