diff src/luan/tools/WebShell.java @ 73:f86e4f77ef32

add package module git-svn-id: https://luan-java.googlecode.com/svn/trunk@74 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Tue, 12 Feb 2013 09:46:45 +0000
parents 59431bb8d0bf
children 4bf3d0c0b6b9
line wrap: on
line diff
--- a/src/luan/tools/WebShell.java	Tue Feb 12 05:44:15 2013 +0000
+++ b/src/luan/tools/WebShell.java	Tue Feb 12 09:46:45 2013 +0000
@@ -59,8 +59,8 @@
 						session.putValue("luan",luan);
 					}
 					luan.out = new PrintStream(history);
-					luan.global().put("request",request);
-					luan.global().put("response",response);
+					luan.global.put("request",request);
+					luan.global.put("response",response);
 					Object[] result = eval(luan,cmd);
 					if( result.length > 0 ) {
 						for( int i=0; i<result.length; i++ ) {