diff --git a/README.md b/README.md index da0dfa4..ec7bae3 100755 --- a/README.md +++ b/README.md @@ -47,6 +47,10 @@ A demonstration for comet technology: Live Demo Site: * http://smalltalk.tinystruct.org/ +* http://smalltalk.tinystruct.org/?q=say/Praise%20to%20the%20Lord!
+* http://smalltalk.tinystruct.org/?q=praise
+* http://smalltalk.tinystruct.org/?q=youhappy
+* http://smalltalk.tinystruct.org/?q=say/%E4%BD%A0%E7%9F%A5%E9%81%93%E5%85%A8%E4%B8%96%E7%95%8C%E6%9C%80%E7%95%85%E9%94%80%E7%9A%84%E4%B9%A6%E6%98%AF%E5%93%AA%E4%B8%80%E6%9C%AC%E4%B9%A6%E5%90%97%EF%BC%9F Results in your browser should be: diff --git a/src/tinystruct/examples/hello.java b/src/tinystruct/examples/hello.java index 86cb1c5..4477321 100644 --- a/src/tinystruct/examples/hello.java +++ b/src/tinystruct/examples/hello.java @@ -76,25 +76,6 @@ public static void main(String[] args) throws ApplicationException, Instantiatio ApplicationManager.call("say/Merry Christmas!", null); } - String path="i/say/hi/James/How are you?"; - int pos = -1; - String tpath = path; - StringBuffer buffer=new StringBuffer(); - buffer.delete(0, 1); - while ((pos = tpath.lastIndexOf('/'))!=-1) { - tpath = tpath.substring(0, pos); - System.out.println("route:"+tpath); -// action = actions.getAction(tpath, method); - - if(true) { - String arg = path.substring(pos+1); - String[] _args = arg.split("/"); - - for(String arg1 : _args) - System.out.println(arg1); - } - } - } }