二十四、Struts2中的UI标签

二十四、Struts2中的UI标签

  1. Struts2中UI标签的优势:
    1. 数据回显
    2. 页面布局和排版(Freemark),struts2提供了一些常用的排版(主题:xhtml默认 simple ajax)
    3. 可以使用OGNL表达式
  2. 模板:

    常量设置的:struts.ui.theme=xhtml

    开发中建议设置为struts.ui.theme=simple;

原文地址:https://www.cnblogs.com/Prozhu/p/5886732.html