import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import clojure.lang.RT;
import com.vaadin.Application;
import com.vaadin.terminal.gwt.server.AbstractApplicationServlet;
public class Clojure4Vaadin extends AbstractApplicationServlet {
@Override
protected Class<? extends Application> getApplicationClass()throws ClassNotFoundException {
return Application.class;
}
.... Some code .....
}
如何在Clojure中編寫此代碼?如何在Clojure中擴展受保護的方法
我試圖寫vaadin srvlet
類Clojure中:
http://dev.vaadin.com/wiki/Articles/ClojureScripting
謝謝兄弟..我知道,它的工作。但我需要將其轉換爲clojure。 – Thilina 2011-01-06 03:53:53