• R/O
  • SSH
  • HTTPS

webserver: Commit


Commit MetaInfo

Revision67 (tree)
Time2010-12-22 01:24:00
Authorhoritaku

Log Message

修正

Change Summary

Incremental Difference

--- branch/Basic 0.2x/config/reflectConfig.ini (revision 66)
+++ branch/Basic 0.2x/config/reflectConfig.ini (revision 67)
@@ -1,5 +0,0 @@
1-/testAction=reflect.action.TestAction
2-/action2=reflect.action.TestAction2
3-/dbsaverInit=dbsaver.action.initAction
4-/tableInfo=dbsaver.action.infoAction
5-/sqlMake=dbsaver.action.sqlAction
\ No newline at end of file
--- branch/Basic 0.2x/config/web_server.ini (revision 66)
+++ branch/Basic 0.2x/config/web_server.ini (revision 67)
@@ -3,4 +3,4 @@
33 userSecury=false
44 compress=gzip
55
6-port=80
\ No newline at end of file
6+port=8080
\ No newline at end of file
--- branch/Basic 0.2x/config/user_pass.ini (revision 66)
+++ branch/Basic 0.2x/config/user_pass.ini (revision 67)
@@ -1 +1 @@
1-tak=6380c8c28e1cddb21a42ac0c32472cf1
\ No newline at end of file
1+root=e9e6cf9e174477c309684b585d6b10de
\ No newline at end of file
--- branch/Basic 0.2x/src/servercore/job/JobWorker.java (revision 66)
+++ branch/Basic 0.2x/src/servercore/job/JobWorker.java (revision 67)
@@ -43,7 +43,6 @@
4343 } else {
4444 res = GeneratePage.execute(req);
4545 }
46- System.out.println(res.getStatusCore());
4746
4847 String resStr = "";
4948 String CrtDate = editTimeZone(System.currentTimeMillis());
@@ -62,6 +61,7 @@
6261 byte[] gzip_content = baos.toByteArray();
6362 baos.close();
6463 res.setResponseByte(gzip_content);
64+ System.out.print(" gzip ");
6565 } catch(IOException ioe) {
6666 ioe.printStackTrace();
6767 useGzip = false;
@@ -83,6 +83,7 @@
8383 } else if(res.getStatusCore() == 500) {
8484 resStr += "HTTP/1.1 500 Internal sever error\r\n";
8585 }
86+ System.out.println(res.getStatusCore());
8687 resStr += "Date: " + CrtDate + " GMT\r\n";
8788 resStr += "Last-Modified: " + LastMod + " GMT\r\n";
8889 resStr += "ETag:\"45aa-707-3c19898c\"r\n";
Show on old repository browser