waterye

          GvTags

          GvTags makes it easy to write web applications in the new dynamic programming language Groovy. GvTags is a Groovy Tag library for Java ServerPages (JSP). GvTags might be for the Groovy programming language what the combination of JSTL and Struts is for Java, or Smarty is for PHP.

          官方站點: http://gvtags.berlios.de/cgi-bin/gvtagswiki.pl

          最新版本是0.1.1

          下載了源碼包看了一下, 還是挺有意思的.

          <gv:import class='org.gvtags.examples.counter.Counter' />
          <gv:bean var='c' class='Counter' scope='session' />
          <gv:formbean var='formBean' />
          <gv:code>
              if (formBean.submit != null) {
                  // handle input
                  switch(formBean.submit.trim()) {
                      case "+":
                          c.increment()
                          break
                      case "-":
                          c.decrement()
                          break
                      case "Reset":
                          c.reset()
                          break
                  }
              }
          </gv:code>

          大部分源碼是groovy寫的

          posted on 2005-09-05 18:45 waterye 閱讀(615) 評論(1)  編輯  收藏 所屬分類: groovy

          Feedback

          # re: GvTags 2005-11-18 10:26 Water Ye

          new release 0.2.0  回復  更多評論   

          主站蜘蛛池模板: 台南县| 泌阳县| 塔城市| 米易县| 永平县| 克拉玛依市| 阳高县| 定兴县| 滨州市| 古丈县| 筠连县| 道真| 灵璧县| SHOW| 祁门县| 从化市| 柳江县| 江陵县| 富裕县| 长春市| 丹东市| 武宁县| 睢宁县| 基隆市| 沽源县| 扶风县| 桃江县| 宿迁市| 鲜城| 大邑县| 丰城市| 类乌齐县| 周口市| 布尔津县| 宜川县| 朝阳区| 广丰县| 海口市| 大关县| 灯塔市| 抚顺县|