tapestry不错,但对velocity不了解

解决方案 »

  1.   

    tapestry用html做模板
    非常标准完全可以交给美工去做
    例如
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>
    大家好
    </title>
    </head>
    <body bgcolor="#FFFFFF">
    <p align="center">学生列表</p>
    <table width="100%" border="1">
    <tr>
    <td >学号</td> 
    </tr>
    <tr jwcid="e" element="tr">
    <td><span jwcid="id">20012400</span></td>
    </tr>
    </table>
    </body>
    </html>
    注意jwcid="e",只需要这些,不影响美工去改动
    而velocity就不是,也就没有做到代码分离。
    我的理解,大家讨论
      

  2.   

    velocity 不懂,但tapestry能让表示层的开发工作更有意思(组件驱动的思想),同时又可提高复用性。