请问struts中Tiles和template有什么区别?

解决方案 »

  1.   

    没研究过,你说的是C++的template?
      

  2.   

    请问struts中Tiles和template有什么区别?titles是一个框架技术范畴template更多的是为titles服务
      

  3.   

    楼上的余华是nju 98cs的余华吗?!
      

  4.   

    楼主说的template是指velocity,freemaker这些吗?
      

  5.   

    Tiles is a superset of the template. Before Struts 1.1, there are only tiles. After that, template was introduced as a branch of tiles. Template is easy to use. Tiles is more complicated and requires a deep learning curve. Tiles allows greater control over our containers (collecting units) by allowing us to pass parameters. This is quite useful when we want to make our templates and containers dynamic. Furthermore, Tiles integrates well with Struts action components.
      

  6.   

    Tiles 使用范围更广,可以动态定制
    Template 使用简单,功能没有上面的强